Function that plots for each point two vectors representing two different values

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

Risposte (2)

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 Commento

http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers

Accedi per commentare.

I post an image that show what I'd like to have on my plot:
Thank you Sean for your reply, you gave me a good idea. I'd like to have a couple of vectors for each pixel(or for groups of nine pixels); each vector represent a variance typical of that pixel; I have to plot two different variance for each pixel(or groups of pixels),and they are represented by orthogonal vectors that have the same origin on that pixel. I hope I clarify the problem, and once again I feel guilty for my english.

Categorie

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by