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

st: Re: Two graph queries

From   Friedrich Huebler <>
Subject   st: Re: Two graph queries
Date   Tue, 23 Sep 2003 16:35:26 -0700 (PDT)

--- SamL <> 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]

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
*   For searches and help try:

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