Statalist The Stata Listserver

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

st: Forcing vertical axis label heights

From   "Steichen, Thomas J." <>
To   <>
Subject   st: Forcing vertical axis label heights
Date   Mon, 21 May 2007 18:19:07 -0400


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.


Thomas J. Steichen

CONFIDENTIALITY NOTE: This e-mail message, including any
attachment(s), contains information that may be confidential,
protected by the attorney-client or other legal privileges, and/or
proprietary non-public information. If you are not an intended
recipient of this message or an authorized assistant to an intended
recipient, please notify the sender by replying to this message and
then delete it from your system. Use, dissemination, distribution,
or reproduction of this message and/or any of its attachments (if
any) by unintended recipients is not authorized and may be

*   For searches and help try:

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