Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Two graph queries


From   Friedrich Huebler <huebler@rocketmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Two graph queries
Date   Tue, 23 Sep 2003 16:35:26 -0700 (PDT)

--- SamL <saml@demog.berkeley.edu> wrote:
> I am trying to do two things I have been unable to do:
> 
> 1)Make the origin begin at the beginning of the graph.  I want the
> point 0,0 to actually be the intersection of the x and y axis.  How
> can I make that happen (and have the labelling be intact)?
> 
> 2)Make two Y-axes and have them both have the same scale, the same
> tick marks, and the same label.  How can I do that?

1) You have to specify -plotregion(margin(zero))-. See [G]
region_options.

2) For this you need the -yaxis- option. From the manual: "Specifying
yaxis(1 2) allows you to force there being two identical y axes." See
[G] axis_selection_options.

Friedrich Huebler

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
*
*   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/



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