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 at the end of May, and its replacement, statalist.org 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   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: display graphs on log scale
Date   Wed, 15 Aug 2012 14:03:45 -0500

See -help axis_scale_options-

Scott


On Wed, Aug 15, 2012 at 1:56 PM, Pradipto Banerjee
<pradipto.banerjee@adainvestments.com> 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?
>
> I don't want to change the values to be logarithmic, i.e. I don't want to use: line `= ln(cumreturns)' date. (I'm looking for the equivalent of Matlab function -semilogy-)
>
> Thanks
>
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index