From: Barbara on
Hi Matlab Users,
I am trying to superimpose a streamline onto a map that
already has matrix data projected with "geoshow".
Nothing appears on the map after using geoshow.
I also tried simply plotm(x,y) and no line appeared
on the map with that command either.

Any suggestions would be very appreciated!
Thanks, Ellen
From: Rob Comer on
> I am trying to superimpose a streamline onto a map that
> already has matrix data projected with "geoshow".
> Nothing appears on the map after using geoshow.
> I also tried simply plotm(x,y) and no line appeared
> on the map with that command either.

The fact that you wrote plotm(x,y), although plotm expects latitude-longitude input, suggests that you might be using the wrong coordinate system. If this is the case, your data set could fall outside the map (when x is interpreted as latitude and y as longitude) so that plotm would trim it away and display nothing. If it turns out that your streamline is already in a projected map coordinate (x-y) system that matches your map axes, you'd want to display it with plot, not plotm.

Rob Comer
Mapping Toolbox Development
MathWorks