How to plot negative values while using loglog plots?

1 次查看(过去 30 天)
I'm using the following code.
a = [ 1 2 3 4 -1 -1 -3 -4 5 6 ]
b = [ 1 2 3 4 5 6 7 8 9 10 ]
loglog(b,a,'-o')
Warning: Negative data ignored

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Log Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by