Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: AW: graph aspect ratio


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
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: [email protected] [mailto:[email protected]] 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index