Dear Friends(adsbygoogle = window.adsbygoogle || []).push({});

I have made 2D plot in matlab and want to convert it in 3D can you give me any suggestions please.

if

s=x^2+y^3

x=linspace(0,2);

plot(y,s,'b')

this gives the plot of 2D

I want to make it in 3D for any value of z axis(-1 to 1)

what changes i have to do ??????

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to make 3D plot in matlab

Loading...

Similar Threads - plot matlab | Date |
---|---|

Matlab Plotting Coordinate Transformations in Matlab | Feb 12, 2018 |

Matlab Plotting animations (time-evolution) | Jan 17, 2018 |

Does anyone had this plotting problem with MATLAB? | Dec 23, 2017 |

Matlab Matlab's plot command | Nov 30, 2017 |

Matlab Matlab -- how to make a smooth contour plot? | Jun 28, 2017 |

**Physics Forums - The Fusion of Science and Community**