Convert log scale to linear scale

40 visualizzazioni (ultimi 30 giorni)
NS
NS il 11 Set 2012
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

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 11 Set 2012
set(gca,'yscale','linear')
  2 Commenti
Matt Fig
Matt Fig il 11 Set 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 il 11 Set 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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by