Hello all,
I am not new with Matlab but I am quite unexpert on dealing with imaging and overlapping.
I have a vector field from my PIV results and I want to overlap it on my PLIF image. Thus, I have a 3D matrix for the PIV (x,y,velocity) that I plot with quiver and a 2D image for PLIF (it is a .SPE file). When I overlap these just by using:
quiver(x,y,x_velocity, y_velocity)
hold on;
imagesc(PLIF_data)
I do not have a good math since the scales are different. How can I have the same scales for these two sets of data?
I do not think it should be a tough task for most of you but I am quite puzzled 'cause I am litterally brand new to this field
Thank you so much

 Accepted Answer

More Answers (1)

yanqi liu
yanqi liu on 18 Mar 2022

0 votes

yes,sir,may be use
quiver(x,y,x_velocity, y_velocity)
hold on;
h=imshow(PLIF_data,[])
set(h,'AlphaData',0.5)

1 Comment

Hello Yanq
Unfortunately it does not work.

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Products

Release

R2021a

Community Treasure Hunt

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

Start Hunting!