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

1 回表示 (過去 30 日間)
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 件のコメント
darova
darova 2020 年 6 月 12 日
The question is unclear. Please explain more. Attach the data, show the result you want to see

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeRed についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by