How to set specific font frame in map axes?

2 visualizaciones (últimos 30 días)
Ivan Mich
Ivan Mich el 25 de Jul. de 2022
Comentada: Ivan Mich el 1 de Ag. de 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:
Could you please help me?
  3 comentarios
Benjamin Kraus
Benjamin Kraus el 1 de Ag. de 2022
You are more likely to get help if you can clarify your question a little.
For example:
  • The picture you show doesn't look like a contour map, so how does contourf factor into this question?
  • What have you tried so far? From your description it sounds like all you need to do is add the border to an existing map. What commands are you using to create the picture you have now? Can you share a picture created in MATLAB that shows what you have so far?
  • Are you working with a Mercator projection or some other projection?
There is no command built-in to MATLAB to create the black and white border shown in the picture in your question, so you will have to create it yourself. There are a few different options, but the specifics depend on how you are creating your map to begin with.
Most likely, you will need to use something like polyshape + plot, or patch, or geoplot + a Geospatial Table.
Ivan Mich
Ivan Mich el 1 de Ag. de 2022
I am usinf the following commands:
lon_grid2=ltln(:, 2);
Z=ltln(:, 3);
[lon_si, lat_si] = meshgrid(...
m_alli = griddata(lon_grid2,lat_grid2,Z, lon_rmsi,lat_rmsi,'natural');
mapshow(S,'Color', 'black','LineWidth',2)

Iniciar sesión para comentar.

Respuestas (0)


Más información sobre Geographic Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by