How to plot negative values while using loglog plots?

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

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 11 Apr. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by