Convert log scale to linear scale

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

set(gca,'yscale','linear')

2 Comments

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??)
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)

Tags

Community Treasure Hunt

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

Start Hunting!