|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: graph plot region size control
I have a similar problem to the one below:
http://www.stata.com/statalist/archive/2003-12/msg00329.html
On Wed, 10 Dec 2003 12:14:29 +0100 Ulrich Kohler <[email protected]>
wrote:
I have two graphs, produced with -graph hbar- and want to combine
them underneath each other in one single graph.
What I want to have is [to have the y axes line up visually]
However, since the labels of the second graph are much shorter than
those of the first, I end up with a picture like this:
+-----------------------------------+
Romania |################### |
...
United Kingdom |## |
+-----------------------------------+
+-----------------------------------------+
EU |## |
...
CC |####### |
+-----------------------------------------+
Unfortunately I couldn't found a way to control the starting coordinate
of the numerical y-axis in the graph-region
I agree. I have reported this problem to Statacorp. The plotting
region is determined by the shape and size of labels in the surrounding
graph region. Just fixing the format of labels does not correct this,
since the label mechanism determines the length according to the value
and then draws it left-justified.
--(rest of post deleted)--
I, too, had tried reformatting the labels, without success.
I tried setting the same aspect in the graphs, and same xsize and ysize,
but the plot regions still varied in size.
Has anyone come up with a solution since then?
many thanks,
Laura
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laura E. Gibbons, PhD
General Internal Medicine, University of Washington
Box 359780
Harborview Medical Center
325 Ninth Avenue, Seattle, WA 98104
phone: 206-744-1842 fax: 206-744-9917
Office address: 401 Broadway, Suite 5122
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* 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/