quiver plot

9 ビュー (過去 30 日間)
iceuday
iceuday 2011 年 12 月 20 日
Hello,
I have a quiver plot,
hQ = quiver(x,y,unode',vnode',.4,'k-');
and i am trying to extract the data from this quiver plot by using this code,
a = get(hQ,'unode');
fid = fopen('test1.txt','w');
fprintf(fid,' %5.3f \n' ,unode)
status = fclose(fid);
But i get an error message every-time, the error message is,
??? There is no 'unode' property in the 'quivergroup' class.
Error in ==> test1 at 126 a = get(hQ,'unode');
Anybody could explain to me how to overcome this error i am getting.
Thank You.

採用された回答

Sean de Wolski
Sean de Wolski 2011 年 12 月 20 日
'unode' is not a defined quiver group property, it's a vector of u-velocities that you're feeding into quiver. quiver properties are available here:
docsearch quivergroup properties
From that document it appears you want 'udata'
a = get(hQ,'udata');

その他の回答 (0 件)

カテゴリ

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