Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: display graphs on log scale

From   Maarten Buis <>
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 L. Buis
Reichpietschufer 50
10785 Berlin
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index