why can't I use circlem code with dem?

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

Prajith Chilummula
Prajith Chilummula 2019년 1월 10일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2019년 1월 3일

댓글:

2019년 1월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by