I suspect that your xlabels are using whatever format has
been assigned to your variable, which will be shown by
a -describe-. Something like
hist f8dv440, frequency width(1) bfcolor(purple) blcolor(purple)
xla(, format(%2.0f))
should force the display of integers. This is documented
at the help for axis label options.
>>> L.L.Miller@bristol.ac.uk
Good morning everyone,
I am using Stata 8 for Windows.
I have been trying to create a histogram using:
hist f8dv440, frequency width(1) bfcolor(purple) blcolor(purple)
which creates a lovely plot except for a strange interpretation of the
values on the x-axis. Rather than displaying the numbers 1 through 22
(the scale of my variable) it displays them as, for example,
5.00000000000000*e^0 so the x-axis is just a jumble of numbers.
There are lots of options for labelling the points themselves but I
can't find anything to change the display of the x-axis. There seem to
be some option for this if using -twoway- but not for an individual
plot. The variable itself is numeric with a width of three and no
decimal places.