How to adjust x-axis in a plot?
Ältere Kommentare anzeigen
Hi,
I am trying to plot a global picture (as shown in figure attached) where my x-axis is from 180 to -180 longitudes but I need to adjust it to start from 0 longitudes and and end with just before 0 longitudes (a sample is also shown).
Please suggest how to achieve that?
Main Figure:

How I want:

Akzeptierte Antwort
Weitere Antworten (2)
KSSV
am 20 Aug. 2021
1 Stimme
To limit axes read about xlim, ylim, axis.
To put up your required lables on the axis read about xticklabel and yticklabel.
1 Kommentar
UTKARSH VERMA
am 20 Aug. 2021
Steven Lord
am 20 Aug. 2021
1 Stimme
Since you're working with map data, you may want to explore the map axes that is part of Mapping Toolbox if this toolbox is available to you. There are a number of properties of map axes that you can control (including projection as well as longitude and latitude limits) that may be of use to you in creating this map graphic.
1 Kommentar
UTKARSH VERMA
am 23 Aug. 2021
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects 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!

