How to set specific font frame in map axes?

3 views (last 30 days)
Ivan Mich
Ivan Mich on 25 Jul 2022
Commented: Ivan Mich on 1 Aug 2022
I would like to create a map with the use of contourf and geoshow commands. The point is that I would like to set a "zebra" (white/black round bounding box around basemap) from into my maps.
I would like to ask , which command should I use in order to make it?
I mean, I would like to create frame axes like in the attached image:
https://www.eoas.ubc.ca/~rich/map.html#13._Blueocean
Could you please help me?
  3 Comments
Ivan Mich
Ivan Mich on 1 Aug 2022
I am usinf the following commands:
figure(5)
S=shaperead('C:\Users\hp\Desktop\MY_MAP.shp');
lat_grid2=ltln(:,1);
lon_grid2=ltln(:, 2);
Z=ltln(:, 3);
[lon_si, lat_si] = meshgrid(...
linspace(min(lon_grid2),max(lon_grid2)),...
linspace(min(lat_grid2),max(lat_grid2)));
m_alli = griddata(lon_grid2,lat_grid2,Z, lon_rmsi,lat_rmsi,'natural');
contourf(lon_si,lat_si,m_alli,15,'ShowText','on');
mapshow(S,'Color', 'black','LineWidth',2)
set(gca,'ColorScale','log');
colormap(flipud(jet(5)));
colorbar

Sign in to comment.

Answers (0)

Categories

Find more on Mapping Toolbox 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!

Translated by