Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: graph aspect ratio


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: graph aspect ratio
Date   Sun, 6 Jun 2010 14:37:08 +0200

<> 

Just use -xsize- and -ysize- then:


*************
sysuse auto, clear
graph hbar (asis) price in 1/20, ///
over(make, label(labsize(small))) ///
xsize(3) ysize(1)
*************



HTH
Martin

-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Ricardo Ovaldia
Gesendet: Sonntag, 6. Juni 2010 14:26
An: Statalist
Betreff: st: graph aspect ratio

I am using the aspect ratio on a horizontal bar graph to make it wider than taller. I am using:

-graph hbar (asis) …, aspectratio(.3, placement(top))-

However, this leaves a large empty area at the bottom of the plot region. Is there a way to get rid of the empty area? I thought I could use –graphregion()- but could not figure it out. Or is there another way to make the bar graph wider than taller?

Thank you,
Ricardo

Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index