How can I plot the vector for specified node?
2 views (last 30 days)
Show older comments
I am using following command
quiver(xarray(1:4:end),yarray(1:4:end),DV_XX(1:4:end),DV_YY(1:4:end),1, 'k','filled');
which is plotting the vector for every node. I want to plot for every alternate node that means it will plot 1st node then do not plot arrow for 2nd node the again plot the arrow for 3 rd node.
Any idea how can I do that?
0 Comments
Accepted Answer
Walter Roberson
on 16 Sep 2012
XX_t = DV_XX(1:4:end);
XX_t(2:2:end) = NaN;
and plot with XX_t instead of DV_XX(1:4:end)
More Answers (0)
See Also
Categories
Find more on Annotations 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!