How to plot 3D line graph?

4 views (last 30 days)
Matlaber on 17 Jun 2019
Answered: Steven Lord on 17 Jun 2019
How to plot a 3D graph below.
I had tried "bar3", but it shown all the line up as bar graph.
I want the line shown below.

Accepted Answer

Steven Lord
Steven Lord on 17 Jun 2019
That looks like a waterfall plot.
In the future, you can scan through the list of plots in the Plots tab of the toolstrip for one whose thumbnail looks similar to the type of plot you want. This may help you identify a useful function. Even if it's not exactly what you're looking for, you may be able to adjust properties of that plot or use one of the plotting functions in the See Also section of that function's documentation page to get closer.

More Answers (1)

Mauro Fusco
Mauro Fusco on 17 Jun 2019
Edited: Mauro Fusco on 17 Jun 2019
you may want to check out commands like
help mesh
help surf


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!