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)
Scott
On Fri, Oct 17, 2008 at 11:19 AM, Joana Cunha-Cruz <[email protected]> wrote:
>
> Dear Statalist members,
>
> 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?
>
> I would appreciate if you can help me.
>
> Thanks,
> Joana Cunha-Cruz
*
* 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/