How to change default incremental coordinate values of xData, yData in streamline plot?
Afficher commentaires plus anciens
When I extract the coordinate of Streamlines it gives coordinate values with default 0.1 spacing. I want to change the values but can't find it.
load wind
xlim = 0:1:255;
ylim = -256:1:0;
[verts averts] = streamslice(u,v,w,10,10,10);
s_slice = streamline([verts averts]);
spd = sqrt(u.*u + v.*v + w.*w);
hold on; slice(spd,10,10,10);
colormap(hot)
shading interp
view(30,50); axis(volumebounds(spd));
camlight; material([.5 1 0])
xData = get(s_slice, 'XData');
yData = get(s_slice, 'YData');

Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Audio I/O and Waveform Generation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
