Plots Limits in Matlab
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Shahad Alomani
am 26 Nov. 2020
Beantwortet: Ameer Hamza
am 26 Nov. 2020
Hi,
I want the X asis to plot from 1 to -1 and I tired to do xlim[(1 -1)] and -1 to 1 It didn't work, I want i to start from 1 and end in -1 which is reverse than normal plots what I got it from -1 to 1 on te plot?
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 26 Nov. 2020
You need to set xdir property to 'reverse'
xlim([-1 1])
set(gca, 'xdir', 'reverse')
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!