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

回答(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 个评论

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

请先登录,再进行评论。

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.

类别

帮助中心File Exchange 中查找有关 Vector Fields 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by