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

RE: RE: st: RE: Automatically changing -ylabel()- values using -graph-


From   "Clive Nicholas" <[email protected]>
To   [email protected]
Subject   RE: RE: st: RE: Automatically changing -ylabel()- values using -graph-
Date   Fri, 10 Jun 2005 05:30:24 +0100 (BST)

Scott Merryman replied:

> No.  For me the y-axis is labeled: 0, 25, 50, 75, 100.  I am at a loss.

I've fixed it. The problem was in the original scale. From my data (with
embellishments):

. collapse (mean) beconch belabch beldmch, by(quarter)
. mylabels -10(2)10, myscale(@/100) local(label100)
. twoway line beconch belabch beldmch quarter, xtitle("") ///
  xlabel(1 "Q1" 2 "Q2" 3 "Q3" 4 "Q4") ylabel(`label100', angle(0)) ///
  clpattern(solid longdash dash) legend(size(small) cols(1) stack) ///
  scheme(s1mono)

Thanks for your help once again.

CLIVE NICHOLAS        |t: 0(044)7903 397793
Politics              |e: [email protected]
Newcastle University  |http://www.ncl.ac.uk/geps

Whereever you go and whatever you do, just remember this. No matter how
many like you, admire you, love you or adore you, the number of people
turning up to your funeral will be largely determined by local weather
conditions.

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index