Function that plots for each point two vectors representing two different values
Afficher commentaires plus anciens
Hi, I need a very similar function of Quiver() that plots for each point its component instead of the velocity vector; I'd like that for each point of the plot there are two vectors parallel to the respective reference coordinates; my work is related to Image Processing, and I'm studying properties of different images in Multiview environment: I'd like two show on the x-coordinate the difference between two frames of the same camera caught in different time, and on the y-coordinate the difference of the same time-frame but from different point of view. I hope that my explanation is enough clear.
Bye bye, Claudio
Réponses (2)
Sean de Wolski
le 12 Déc 2011
Overlay two quiver plots on each other with velocity being the component? Please clarify, or even better - show us a picture of what you want.
More per Clarification
[xx yy] = meshgrid(1:10);
z10 = zeros(10);
o10 = ones(10);
scale = 0.5;
figure;
quiver(xx,yy,z10,o10,scale);
hold on
quiver(xx,yy,o10,z10,scale);
Change meshgrid's input to redefine coordinates or the scale to change arrow scale.
1 commentaire
Walter Roberson
le 12 Déc 2011
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
Claudio Di Spirito
le 13 Déc 2011
0 votes
Catégories
En savoir plus sur Lighting, Transparency, and Shading dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!