quiver plot
조회 수: 5 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Vector Fields에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!