How to plot a transient response using scatter interpolant?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I've used the following code to plot a 2D surface plot of the steady state pressure distribution on a square surface.
figure;
yi=0:5:175;
zi=0:5:440;
[Yi,Zi]=meshgrid(yi,zi);
P=scatteredInterpolant(y1335_complete,z,Cp_rear_complete, 'natural', 'linear');
Pi=P(Yi,Zi);
pcolor(Yi,Zi,Pi)
shading interp
colorbar Eastoutside
caxis([-0.3, 0.1])
hold on
plot(y1335_complete,z,'.k')
title ('Rear of the Train')
Now that I have instantaneous pressure distribution at every 0.002 of a second. How do I do a transient plot where the 2D contour will change according to time?
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Surface and Mesh Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!