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

8 ビュー (過去 30 日間)
farzad
farzad 2020 年 7 月 6 日
コメント済み: farzad 2020 年 7 月 9 日
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 ?

回答 (1 件)

madhan ravi
madhan ravi 2020 年 7 月 6 日
Replace < 1 with nan.
  14 件のコメント
farzad
farzad 2020 年 7 月 9 日
That's a pity, I'm stuck
farzad
farzad 2020 年 7 月 9 日
ریک, do you have any suggestions?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by