Plot contour3 of data consist x, y, phi
4 views (last 30 days)
Show older comments
Hello,
I need guidance related to contour3 ploting of my data. I have a matrix contains as below data:
x y phi s
1 1 1 0
1 1 2 0
1 1 3 0
1 2 1 0
1 2 2 1
1 2 3 1
2 1 1 0
2 1 2 1
.....
which x varies from 1 to 4, y varies from 1 to 2, phi varies from 1 to 3 and s could have just 0 and 1 (my matrix is 689689 by 4, and this is just a sample of my data). I need to contour3 of my data for the rows which just s=1. So for first step I have to filter my data. The rest of my data which has x, y and phi in each row represents a point. I need to contour3 plot for each level of phi which contains lots of point in that level of phi. I tried to plot it but it create a contour3 for each point in each level (For example, I have more than 1000 points which has same phi so in each level of contour3 for a phi it creates 1000 contour3 around each point!). But I need a contour3 for more than 1000 point on each level. It would be great if you could guide me. Thanks.
0 Comments
Answers (0)
See Also
Categories
Find more on Migrate GUIDE Apps 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!