Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Emily
Posts:
1
Registered:
6/18/13


Linear and semilog axes on one plot
Posted:
Jun 18, 2013 7:27 PM


I have a single timeseries dataset. I want to make a plot with two yaxes for a single dataset. One yaxis would show a linear scale (i.e., [1:10]) while the other axes would show a log scale (i.e., [log2(1):log2(10)]). Tick intervals are unimportant.
I've tried plotyy and addaxis_unit posted on Mathworks with little success. Is there a simple way to plot(x,y) and then show a second yaxis based on a logarithmically scaled version of y?
Thanks!


Date

Subject

Author

6/18/13


Emily

6/18/13


dpb


