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

1 vue (au cours des 30 derniers jours)
how to write a function which converts graphs from linear scale to logarithmic scale and plot them both?
in matlab r2019b

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Graph and Network Algorithms dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by