Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

[no subject]



In Stata 9.2 graphics, I am trying to draw a series of graphs that have
value labels on the x-axis drawn in vertical orientation
[i.e., angle(90)].

By default, Stata chooses the vertical space needed for the labels based
on the number of characters in the longest value label.
However, I am doing a series of graphs where the longest label is not
always the same number of characters, therefore the length of
the label space and, correspondingly, the length of the y-axis, keeps
changing (which looks quite ugly!).

Has anyone found a way to define the height of the textbox for the
labels?

I tried using a height() option: 
   -xlabel(1(1)7, noticks valuelabel angle(90) height(5))-
But this gives an illegal option error.

------------------------------------------------------------------------
--- 

There was a similar discussion in February. Scott Merryman had a
solution; see:
http://www.stata.com/statalist/archive/2007-02/msg00121.html

Hope this helps
Svend

__________________________________________

Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000  Aarhus C, Denmark
Phone: +45 8942 6090
Home:  +45 8693 7796
Email: [email protected]
__________________________________________ 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index