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
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z214
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of b. water
Sent: maandag 23 januari 2006 17:48
To: [email protected]
Subject: st: graph y-axis equal x-axis in lengths
dear statalisters,
Stata 8.2 Window XP Pro SP2
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.
*
* 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/