quiver plot
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Sean de Wolski
il 20 Dic 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Vector Fields in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!