Creating 3d surf from 2d map
Show older comments
I have plot of some data(engine charactertics), which is basically few matrixies with points of coordinates x,y plotted together.
I want to create a 3-D countour plot or surf where the Z-axis will be efficiency in % from 86 to 96 ant the X and Y axis will be the same as on the picture. I know that i can create double variable where each field will be havving number of percentages but it will be hard to map this huge variable by hand. Are there any ways to just turn this plot to 3D, so each contour will be on higher level?

Accepted Answer
More Answers (1)
Joe Vinciguerra
on 26 Jun 2023
It's not hard to map a constant to a new column. Just do this:
eff86(:,3) = 0.86;
eff90(:,3) = 0.90;
% ... etc.
Then plot in 3D like this:
plot3(eff86(:,1), eff86(:,2), eff86(:,3))
plot3(eff90(:,1), eff90(:,2), eff90(:,3))
% ... etc.
The contour3 function is also an option.
2 Comments
Michal
on 26 Jun 2023
Joe Vinciguerra
on 26 Jun 2023
Well, there are a lot of different options depending what you want the final result to look like. Here are some helpful resources:
Once you pick one, if you have trouble you can create a new question about a specific function.
Categories
Find more on Orange 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!

