How to plot location and magnitude
7 views (last 30 days)
Show older comments
Hi All
I currently have three vectors two of which contain x and y coordinates, and the last one containing stress magnitudes. How can I go about creating a smooth coloured plot which contains the stress magnitude at its x and y location? I have tried the surf(x,y,z) and also tried surf(x,y,z,C) where z is just a zero vector the same length as z and y, but still it does not work. Any help would be much appreciated
2 Comments
José-Luis
on 3 Jul 2013
Could you show an example of what you are trying to achieve and what you get at the moment?
Answers (1)
Walter Roberson
on 3 Jul 2013
TriScatteredInterp class, or its new replacement scatteredinterpolantclass . You would interpolate over a grid.
0 Comments
See Also
Categories
Find more on Stress and Strain 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!