The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Linear and semilog axes on one plot
Replies: 1   Last Post: Jun 18, 2013 8:40 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1
Registered: 6/18/13
Linear and semilog axes on one plot
Posted: Jun 18, 2013 7:27 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have a single time-series dataset. I want to make a plot with two y-axes for a single dataset. One y-axis 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 y-axis based on a logarithmically scaled version of y?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.