How to change default incremental coordinate values of xData, yData in streamline plot?
Show older comments
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');

Accepted Answer
More Answers (0)
Categories
Find more on Vector Fields in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!