m_map m_quiver
22 views (last 30 days)
Show older comments
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 Comment
Laura Proctor
on 15 Mar 2011
You may want to check with the maker of the m_map tools. It's not a tool created by MathWorks.
Answers (1)
Brian Hansen
on 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
0 Comments
See Also
Categories
Find more on Vector Fields in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!