How do I convert a linear scale array to a logarithmic without getting negative values?

8 vues (au cours des 30 derniers jours)
farzad
farzad le 6 Juil 2020
Commenté : farzad le 9 Juil 2020
Hi All
I need to plot ( bar plot) values, and on the X axis , I want to convert them to logarithmic, but the values <1 become negative. how to avoid and fix it ?

Réponses (1)

madhan ravi
madhan ravi le 6 Juil 2020
Replace < 1 with nan.
  14 commentaires
farzad
farzad le 9 Juil 2020
ریک, do you have any suggestions?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by