Plots Limits in Matlab
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Shahad Alomani
il 26 Nov 2020
Risposto: Ameer Hamza
il 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 Commenti
Risposta accettata
Ameer Hamza
il 26 Nov 2020
You need to set xdir property to 'reverse'
xlim([-1 1])
set(gca, 'xdir', 'reverse')
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!