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

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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Graph and Network Algorithms finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by