Making Plots of the Vector Fields in PIVlab

53 views
Skip to first unread message

J.D. Strickland

unread,
Nov 28, 2024, 5:51:00 AM11/28/24
to PIVlab
I need to create plots, output through MATLAB of the vector fields at specific frames of my flow analysis. Something similar to what I have added a photo of. Please can someone help. Screenshot 2024-11-28 025009.png

thielickeoptolution

unread,
Nov 28, 2024, 8:44:56 AM11/28/24
to PIVlab
I still don't get it... This is exactly what you get after clicking "Analyze current frame"! At leat when your input image data is suitable. Can you please attach the INPUT RAW DATA?
 Is that picture from PIVlab or from somewhere else? Are you asking how to export this to an image file?

J.D. Strickland

unread,
Nov 29, 2024, 4:19:14 AM11/29/24
to PIVlab
I think I was able to figure out what I need to do. I click "export all to results to MATLAB workspace" then I use something resembling the following code. It plots the vector field in a figure! Perfect. 

figure
quiver(x{131} * scale_factor, y{131} * scale_factor, u_smoothed{131}, v_smoothed{131}, 3);
title('(f)');
xlabel('');
ylabel('');

Reply all
Reply to author
Forward
0 new messages