Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: display graphs on log scale
From
Maarten Buis <[email protected]>
To
[email protected]
Subject
Re: st: display graphs on log scale
Date
Wed, 15 Aug 2012 21:02:32 +0200
On Wed, Aug 15, 2012 at 8:56 PM, Pradipto Banerjee wrote:
> I have a series that is cumulative returns (of a trading strategy) and I am displaying a line graphs versus date as follows:
>
> . line cumreturns date
>
> Since the cumulative returns grows exponentially, is there any way to change the graph such that scale on Y-axis is logarithmic?
twoway line cumreturns date, yscale(log)
Hope this helps,
Maarten
---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany
http://www.maartenbuis.nl
---------------------------------
*
* 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/