Say I have the following data that I want to plot:
x <- seq(.01, 1, .01)
plot(x)
Great. However, I want to change the scaling of the y-axis. I know that I can do
plot(x, log='y')
Is there an equivalent of this for exponential scaling?
(I know I could just plot(exp(x))
but this is part of a pretty complex plotting function that I am writing and I'd like to make this an optional parameter.)
Any help is greatly appreciated!