In addition, see Nick Cox's "Stata tip 12: Tuning the plot region aspect
ratio" in the Stata Journal 4(3).
Scott
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Maarten Buis
> Sent: Monday, January 23, 2006 10:56 AM
> To: [email protected]
> Subject: st: RE: graph y-axis equal x-axis in lengths
>
> b.water wrote:
> > i have done a graphs of twoway scatter type. y-axis and x-axis are of
> two
> > differering scales. what i want to do is to make the plot square'ish
> i.e.
> > the y-axis equals to x-axis lengthwise. in the past, for some reasons,
> this
> > has never posed me a problem - i did "...ysize(n) xsize(n)" and stata
> gave a
> > square graphs i.e. equal vertical and horizontal graph spans as well as
> > equal vertical and horizontal plot region. this time it seems to have
> not
> > worked. i tried empirically and got the plot squae'ish using ysize(6)
> and
> > xsize(5).
> >
> > for my own stata education, i am just wondering whether there is a
> command
> > that i missed to enable formation of a square'ish graphs i.e. both for
> the
> > graph spans and the plot region will appear square'ish when axes scales
> are
> > not the same? any help/advice is appreciated.
>
>
> The technical term for what you want to do is control the "aspect ratio".
> -help region_options- has a section on that, you can also look at -help
> aspect_option-.
>
> HTH,
> Maarten
>
*
* 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/