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

8 visualizaciones (últimos 30 días)
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 ?

Respuestas (1)

madhan ravi
madhan ravi el 6 de Jul. de 2020
Replace < 1 with nan.
  14 comentarios

Iniciar sesión para comentar.

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by