File Exchange

image thumbnail

MATLAB Plot Gallery - Line Plot 3D

version (416 KB) by MathWorks Plot Gallery Team
Create a 3D plot


Updated 19 Dec 2018

View License

This is an example of how to create a 3D plot in MATLAB®.
Read about the "plot3" function in the MATLAB documentation.
For more examples, go to MATLAB Plot Gallery -

Cite As

MathWorks Plot Gallery Team (2020). MATLAB Plot Gallery - Line Plot 3D (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

David Garrison

There is only one datafile (spectraData.mat). It is included in the zip file when you download the submission


I am unable to load the data to generate this plot. Where can I find the datafiles "spectraData masscharge time spectra"?

LIU Likun

Jie Wang


Added live script

Updated license

Updated screenshot.

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux