Clear Filters
Clear Filters

Remove graph label in geoplot

40 views (last 30 days)
How do I remove the "Latitude" y-axis label on the 4th subplot? It's automatically generated and it's interfering with my other graphs.
  1 Comment
Vilém Frynta
Vilém Frynta on 9 Apr 2023
could you post your code. it would help me get a better insight on what you are doing so i can try it out myself.
what does automatically generated mean?
without the code, i can only say that you could do some magic with set(gca, ...). which will very likely be the right answer.

Sign in to comment.

Accepted Answer

Vinayak Choyyan
Vinayak Choyyan on 12 Apr 2023
Hi Nur Zawani Rosli,
As per my understanding, you are using ‘geoplot’ to fill in on of the subplots and would like to remove the axis labels for that ‘geoplot’.
The parent object of ‘geoplot’ is ‘GeographicAxes’ and this parent is what contains the properties for the ‘geoplot’ labels. Setting the ‘LatitudeLabel.String’ property to an empty string to remove the label. Please refer to the below code to see an example of the same.
load usapolygon.mat;
As seen above, the "Latitude" label has been removed. To know more about ‘GeographicAxes’ properties, please refer to the following documentation
I hope this resolves the issue you are facing.
Nur Zawani Rosli
Nur Zawani Rosli on 15 Apr 2023
Yes! Thank you, it works :))
Jakub Steiner
Jakub Steiner on 16 Nov 2023
Thank you for your answer. It helped my as well. Is there a way to remove the cescription of parallels meridians? I mean the 50°N 90°W labels.
Thank you.

Sign in to comment.

More Answers (0)


Find more on Geographic Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!