Convert log scale to linear scale

33 views (last 30 days)
Hi all,
I made a figure whose Y axis I converted to log scale using the command set(gca,'yscale','log'). I want to convert the Figure back to linear scale. Is it possible to do it on MATLAB.
Thanks. NS

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 11 Sep 2012
set(gca,'yscale','linear')
  2 Comments
Matt Fig
Matt Fig on 11 Sep 2012
NS, whenever you are in doubt, try this:
set(gca,'yscale') % Shows you the options!
(P.S., how did you learn to use SET to change to log without also learning to use set to change to linear??)
NS
NS on 11 Sep 2012
Thanks Azzi and Matt.
@Matt..I looked up changing scale to log on the MATLAB Answers forum. I found the syntax. Didnt bother looking into the specifics. :)
Thanks again

Sign in to comment.

More Answers (0)

Categories

Find more on Exponents and Logarithms in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!