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, 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   Nick Cox <>
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)



On Wed, Aug 15, 2012 at 7: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?
> 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:

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