For example, I have a map with “Robinson” projection. I want to put a text string on the top right corner of the figure, outside the map plotting area. How do I do that?
Below is how I add text to the map area. Unfortunately, it can not be used to add text outside the map area. For example, a text string floating outside the rightside of the map will go to left side of the map area.
Leo, the problem here is that you want your text to be in outer space so you can’t plot it while the geographic coordinates are active. You’ll need to start a new paper space with the same size as the one used by the projected figure (14 cm wide by default) and use paper coordinates this time. Don’t remember on top of my head of a example that does that (though it exists for sure). Somethings like
If you remove the frame=:none you’ll see immediately what is happening.
However, one thing I don’t understand is why the second frame does not align with the bottom of projected image. @pwessel is it because the colorbar further extended it down?
Anyway, the solution to your case is the option noclip=true