I'm trying to plot a distribution with distplot. I'm using this command:
Code:
distplot var1 if var2 == 5 | var2 == 8, over(var2) trscale(100 * @) xscale(log) xlabel(1 2 4 8 16 32 64 128 256 512 1024, grid) ymtick(##2, grid)
Array
The red line is fine. But the horizontal part of the blue "steps" is not really horizontal. It is slightly ascending. How does that come? The horizontal part should be 100% parallel to the red line. It has nothing to do with the file format as it looks identical in Stata's graph editor.
I would appreciate any help with this. My Stata version is 16.0. Distplot has just been updated via ssc.
Best regards,
Christoph
0 Response to Problem with distplot
Post a Comment