m_map m_quiver

조회 수: 12 (최근 30일)
Léon
Léon 2011년 3월 15일
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
Laura Proctor
Laura Proctor 2011년 3월 15일
You may want to check with the maker of the m_map tools. It's not a tool created by MathWorks.

댓글을 달려면 로그인하십시오.

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 Vector Fields에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by