m_map m_quiver

12 vues (au cours des 30 derniers jours)
Léon
Léon le 15 Mar 2011
Hi,
When I use the normal quiver in matlab as quiver(lon,lat,U,V), it works fine, but when I use the m_map quiver; m_quiver I get this strange error message:
??? Error using ==> or Inputs must have the same size.
Error in ==> mp_cyl at 96 vals=vals | long<=MAP_VAR_LIST.longs(1)+eps*10 | long>=MAP_VAR_LIST.longs(2)-eps*10 | ...
Error in ==> m_ll2xy at 36 [X,Y,I]=feval(MAP_PROJECTION.routine,'ll2xy',varargin{:},'clip','on');
Error in ==> m_quiver at 55 [X,Y]=m_ll2xy(long,lat,'clip','point');
Error in ==> fsc_monthly_nao_altimetry at 143 m_quiver(lon_i,lat_i,U,V)
Does anyone have a clue what this is about?
I would appreciate some help.
Thanks!
  1 commentaire
Laura Proctor
Laura Proctor le 15 Mar 2011
You may want to check with the maker of the m_map tools. It's not a tool created by MathWorks.

Connectez-vous pour commenter.

Réponses (1)

Brian Hansen
Brian Hansen le 20 Mar 2012
m_quiver uses a lon and lat matrix, the same size as the data. quiver can plot with lat lon being vectors

Catégories

En savoir plus sur Vector Fields dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by