easy solution: log scale plot for data with positive and negative data

semilogy and set(gca, 'YScale', 'log') don't work for negative data. There's user written functions resolving this but is there just any default, embedded quicker solution?

3 Commenti

There's no solution because it's not a problem. When the data has negative values, log plots shouldn't be used, and disallowing them is the right thing.

Accedi per commentare.

Risposte (0)

Tag

Richiesto:

il 9 Apr 2025

Commentato:

il 11 Apr 2025

Community Treasure Hunt

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

Start Hunting!

Translated by