MATLAB Answers

Anna S
0

geoaxes, geoscatter does not work

Asked by Anna S
on 10 Apr 2019
Latest activity Answered by Anna S
on 10 Apr 2019
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

  0 Comments

Sign in to comment.

Products

6 Answers

Answer by David Wilson on 10 Apr 2019

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

  0 Comments

Sign in to comment.


Answer by Anna S
on 10 Apr 2019

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?

  0 Comments

Sign in to comment.


Answer by David Wilson on 10 Apr 2019

The function geoaxes was introduced in 2018b. What is your version? Type >> ver.

  0 Comments

Sign in to comment.


Answer by Anna S
on 10 Apr 2019

My Version is 2016b ... Does that mean that I cannot use it anyhow?

  0 Comments

Sign in to comment.


Answer by David Wilson on 10 Apr 2019

Correct, you'll need to upgrade to use this functionality.
(I think the mapping toolbox does replicate this to some degree though.

  0 Comments

Sign in to comment.


Answer by Anna S
on 10 Apr 2019

Okay, thanks :)

  0 Comments

Sign in to comment.