[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: Formaatin the labels of the histogram-bars ?
This is very much worth knowing.
What chain of -help- links leads to this answer?
If none, please make one possible.
Jeff Pitblado, StataCorp LP
> Ernest Berkhout <firstname.lastname@example.org> asks how to
> control the format of the
> labels generated by the -addlabels- option of -histogram-:
> > is there a possibility to format the labels that can be
> stuck on the bars
> > of a histogram, just as it can be done with a bar-graph?
> Use the -yvarformat()- option from within the
> -addlabopts()- option. For
> . sysuse auto
> . histogram mpg, addlabopts(yvarformat(%4.2f))
> results in labels with 2 decimal digits for the labels.
* For searches and help try: