Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

AW: st: multiple axes axisstyle


From   Monika Huembelin <hummel29@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   AW: st: multiple axes axisstyle
Date   Tue, 12 Sep 2006 04:29:21 -0700 (PDT)

Thank you Svend. It did help indeed. Thank you for your comment as well as it helps me to understand the logic of Stata.

Monika

----- Urspr√ľngliche Mail ----
Von: Svend Juul <SJ@SOCI.AU.DK>
An: statalist@hsphsun2.harvard.edu
Gesendet: Dienstag, den 12. September 2006, 12:51:29 Uhr
Betreff: Re: st: multiple axes axisstyle

Monica wrote,

I'm having a graph with two y-axes but unfortunately I can't find a way
to change the style of  the second y-axis, so that for both axes no line
is drawn. The following option didn't work in Stata 8.2:

    scatter......., yaxis(1 2) yscale(noline, axis(2)) 

-----------------------------------------------

Don't tell that "it does not work"; tell what Stata responds:
   invalid 'axis' 
   r(198);

There should be no comma before -axis()-; it is not an option to the
-noline- suboption, but a suboption to the -yscale()- option:

    scatter......., yaxis(1 2) yscale(noline axis(2)) 

Hope this helps
Svend
__________________________________________

Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000  Aarhus C, Denmark
Phone: +45 8942 6090
Home:  +45 8693 7796
Email: sj@soci.au.dk
__________________________________________ 

*
*   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/




*
*   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