index exceeds matrix dimensions with axesm

I am trying to plot a map of the us using the command:
axesm('eqaconicstd', 'MapLatLimit', [23 52], 'MapLonLimit', [-127 -65])
But I get this error:
Index exceeds matrix dimensions.
I also get the error using the lambert projection and don't understand why. I don't want to use mercator I'm looking for equal area and should be able to use it on a region. At least I can in ARCgis.
Thanks,
Katrina

Answers (1)

Jan
Jan on 14 Nov 2016
Edited: Jan on 14 Nov 2016
I guess that you have redefined "axesm" as a variable. Check this by:
which axesm -all
Please note that guessing would not be required, if you post the complete error message.

1 Comment

Alas, " Index exceeds matrix dimensions" was all the error message I got. If there had been more it would have been in the paste.
I get a filepath for "which axes" but found a work-around using setm after axesm.

This question is closed.

Asked:

on 14 Nov 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!