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

1 vue (au cours des 30 derniers jours)
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
  1 commentaire
darova
darova le 12 Juin 2020
The question is unclear. Please explain more. Attach the data, show the result you want to see

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Red dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by