quiver plot
5 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Sean de Wolski
on 20 Dec 2011
'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 Comments
More Answers (0)
See Also
Categories
Find more on Vector Fields in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!