how to write a function which converts graphs from linear scale to logarithmic scale and plot them both?

1 visualizzazione (ultimi 30 giorni)
how to write a function which converts graphs from linear scale to logarithmic scale and plot them both?
in matlab r2019b

Risposta accettata

Matt J
Matt J il 23 Ott 2021
To convert the scale of an existing graph from linear to log, you can do,
set(gca,'YScale','log')
set(gca,'XScale','log')

Più risposte (0)

Categorie

Scopri di più su Graph and Network Algorithms in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by