Info

This question is closed. Reopen it to edit or answer.

How to get screenshot of plot_google_map with coordinates?

1 view (last 30 days)
Hi all,
I am trying to get a image file of the plot_google_map screen. But I do not want to save the file from save as because it shows the axis and the blank areas around the map. I have also try to use other tools such as imrect but it does not provide me the coordinates of the four corners of the area in view.
My goal is to:
  1. Be able to know what the coordinates of the image borders in degrees (4 corners)
  2. Save plot_google_map display area without borders and axis. Just image file (jpeg,tiff,..etc)
So for example, this image.
I want to be able to know what the coordinates of the 4 corners of the display.
I would get these ((-4,54),(-4,36),(26,36),(26,54)
Then I would like to be able to save the display as image without any borders or axis just the image.
Thank you
  5 Comments
Vinh K
Vinh K on 16 Oct 2018
I got the image to be save okay. However, is there a way to get the coordinates of the corner of the figure in the original coordinates?

Answers (0)

Community Treasure Hunt

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

Start Hunting!