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

Matt J
Matt J 2025년 4월 9일
편집: Matt J 2025년 4월 9일
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.
you can use these functions if that helps you

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Log Plots에 대해 자세히 알아보기

태그

질문:

2025년 4월 9일

댓글:

2025년 4월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by