Create diagram where y axis has zero limits two times (-1 to 0,0 to 0,0 to 1)
Ältere Kommentare anzeigen
Greeting to everyone,
I am trying to write a code that draws a curve like the one in the picture that I attach.My problem is that I cannot find how to set the y axis to take values from -1 to 0,0 to 0,0 to 1. Is it possible to do this in matlab and if so how?
I hope the picture clarifies the problem.Just look at the y values.
Any help would be highly appreciated.Thanks in advance
Akzeptierte Antwort
Weitere Antworten (2)
Walter Roberson
am 22 Okt. 2012
0 Stimmen
If you were to use plotyy() then you could set() the Position of the second axis to be just below the first, and set() YDir to be reversed on one of the plots.
1 Kommentar
Michael Karampasis
am 23 Okt. 2012
Michael Karampasis
am 2 Mär. 2013
0 Stimmen
Kategorien
Mehr zu Two y-axis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!