why can't I use circlem code with dem?

1 visualizzazione (ultimi 30 giorni)
Jiyeon Kim
Jiyeon Kim il 3 Gen 2019
I want to draw a radius of circle with radius and center (lat, lon) data on DEM map. (for example, circle(lat:13,lon:50,radius:70km))
so I tried to use 'circlem' code but I could't run a code contaning 'circlem.m'.
It showed the error like below.
1.
Error using circlem (line 47)
The circlem function requires you to initialize a map first.
Error in map_tran (line 53)
circlem(36,129,1)
n I tried again after editing something..n I tried another code..
the errors were similar to each other...(about gcm)
2. Error using gcm (line 25)
Not a map axes. (Do I need to creat a map axes again?Then, how can I do that?)
Error in patchm (line 44)
mstruct = gcm;
Error in circlem (line 99)
h = patchm(circlelat,circlelon,'k','facecolor','none');
Error in map_tran (line 53)
circlem(36,129,1)
I tried to use worldmap function and axesm with coastline..but the quality of map was really low in my study area..
How can I fix the problems?
Is there any map that can be used with circlem? or
Is ther any code that can be used with DEM map?
Thanks. Any idea would be pleasure.
  1 Commento
Prajith Chilummula
Prajith Chilummula il 10 Gen 2019
Check out the example section from this link: example . It shows on how to initialize the map and draw a circle. Contact the author on any further issues.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by