m_map m_quiver

7 visualizzazioni (ultimi 30 giorni)
Léon
Léon il 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 Commento
Laura Proctor
Laura Proctor il 15 Mar 2011
You may want to check with the maker of the m_map tools. It's not a tool created by MathWorks.

Accedi per commentare.

Risposte (1)

Brian Hansen
Brian Hansen il 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

Categorie

Scopri di più su Vector Fields in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by