m_map m_quiver

6 ビュー (過去 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 Center および File ExchangeVector Fields についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by