Statalist


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

st: RE: graphing question


From   "Matt Grennan" <[email protected]>
To   <[email protected]>
Subject   st: RE: graphing question
Date   Wed, 6 Aug 2008 16:44:19 -0400

Sounds like you want to create a new variable that rescales your x-axis
variable.  If your old is x, then

gen new = 50x+10 

would do this.  Then create your graph using "new" instead of x.

all the best, Matt

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Murali
Kuchibhotla
Sent: Wednesday, August 06, 2008 4:40 PM
To: [email protected]
Subject: st: graphing question

Hello,
      I have a plot of a curve (created with twoway connected) whose values
on
the x-axis range from 0 to 1. Is there a way to edit the graph such that I
am
able to relabel the x-axis values from 10-60(i.e. 0 would be replaced by 10
and
1 would be replaced by 60). Thanks.

Murali Kuchibhotla




*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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