Superimposing imshow and quiverc, showing wrong colobar and not showing color gradient for quiverc

1 Ansicht (letzte 30 Tage)
Hello all,
I am trying to superimpose raw images (.tif) and a quiver plot using quiverc. Here is the code I have
A = imread(image);
figure;
imshow(A)
colormap gray
quiverc2(X(1:4:end),Y(1:4:end),U(1:4:end),V(1:4:end),8);
colormap jet
colorbar;
I have been trying whatever I can think of and most times it gives me the colorbar for the raw image (0 to 255 pixel color). It also does not show the different colors in quiverc, as the colors should change with magnitude.
What am I doing wrong?
Thanks

Antworten (0)

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by