Bookmark and Share

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   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: display graphs on log scale
Date   Wed, 15 Aug 2012 20:04:51 +0100

This is very well documented; did you even try to find out from Stata?

. search logarithmic scale

Keyword search

        Keywords:  logarithmic scale
          Search:  (1) Official help files, FAQs, Examples, SJs, and STBs

Search of official help files, FAQs, Examples, SJs, and STBs


[G]     axis_options  . . . . . . . . . .  Options for specifying numeric axes
        (help axis_options)

[G]     axis_scale_options  . Options for specifying axis scale, range, & look
        (help axis_scale_options)

[G]     twoway_options  . . . . . . . . . . . . . .  Options for twoway graphs
        (help twoway_options)

etc.

Nick

On Wed, Aug 15, 2012 at 7:56 PM, Pradipto Banerjee
<[email protected]> 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-)
>
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index