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

1 visualización (últimos 30 días)
how to write a function which converts graphs from linear scale to logarithmic scale and plot them both?
in matlab r2019b

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Graph and Network Algorithms en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by