Stata will draw this graph, but I see no point to it. The data points
are shown w.r.t. the log scales, but the arithmetic scales relate to
nothing (and vice versa).
This is a question to Joana, as I think Scott was just trying to answer
the question without necessarily understanding why Joana thinks this
kind of graph would be useful.
Nick
[email protected]
Scott Merryman
Something like this?
sysuse auto,clear
scatter mpg gear, ms(i) || scatter mpg gear, xscale(log axis(2))
yscale(log axis(2)) yaxis(2) xaxis(2)
On Fri, Oct 17, 2008 at 11:19 AM, Joana Cunha-Cruz
<[email protected]> wrote:
>
> How do we add the log scale on the opposite axis when using twoway
scatter ..., yscale(log)?
>
> When using:
> twoway scatter y x || line ypredictrate x, xscale(log) yscale(log)
> the plotted data is on the log scale (that's what I want),
> and the left axis shows the labels on the arithmetic scale...
>
> Now, how can I add an axis on the right and top with the label of the
numbers on the log scale?
*
* 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/