geoaxes, geoscatter does not work

I would like to use geoaxes and geoscatter() as in the example on
https://de.mathworks.com/help/matlab/ref/ginput.html
but I get the error message that the function is undefined. What can I do to be able to use ist?
Interestingly, geoshow() works. I installed the mapping toolbox

답변 (6개)

David Wilson
David Wilson 2019년 4월 10일

1 개 추천

Try the which function. This will tell you if the function exists on your path.
>> which geoshow
C:\Program Files\MATLAB\R2018b\toolbox\map\map\geoshow.m
>> which geoaxes
C:\Program Files\MATLAB\R2018b\toolbox\matlab\graphics\maps\geoaxes.m
>> which geoscatter
C:\Program Files\MATLAB\R2018b\toolbox\matlab\graphics\maps\geoscatter.m
Anna S
Anna S 2019년 4월 10일

0 개 추천

Thanks! The answer for geoshow is the same as yours, but for geoaxes and geoscatter I get
'geoaxes' not found
Do you know how I can change this?
David Wilson
David Wilson 2019년 4월 10일

0 개 추천

The function geoaxes was introduced in 2018b. What is your version? Type >> ver.
Anna S
Anna S 2019년 4월 10일

0 개 추천

My Version is 2016b ... Does that mean that I cannot use it anyhow?
David Wilson
David Wilson 2019년 4월 10일

0 개 추천

Correct, you'll need to upgrade to use this functionality.
(I think the mapping toolbox does replicate this to some degree though.
Anna S
Anna S 2019년 4월 10일

0 개 추천

Okay, thanks :)

카테고리

도움말 센터File Exchange에서 Geographic Plots에 대해 자세히 알아보기

제품

질문:

2019년 4월 10일

답변:

2019년 4월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by