Plotting two functions on 3D surface for the same interval
Show older comments
Hello
I have two functions, say
Z1=x^2
Z2=x^3
x: 0:10
How i can create a 3D surface plot
thanks in advance
Accepted Answer
More Answers (3)
Fuad Nammas
on 25 Jan 2020
0 votes
1 Comment
Star Strider
on 25 Jan 2020
As always, my pleasure!
Thank you!
Fuad Nammas
on 25 Jan 2020
0 votes
1 Comment
Star Strider
on 25 Jan 2020
That is not possible as you have defined the plot.
The ‘x’ and ‘Z1’ vectors define the axes, so only ‘Z2’ can have color associated with the surface plot.
Fuad Nammas
on 25 Jan 2020
0 votes
1 Comment
Star Strider
on 25 Jan 2020
As always, my pleasure!
Thank you, and you, too.
Categories
Find more on 2-D and 3-D Plots 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!