MATLAB Plot Gallery - Scatter Plot 2D
Version 1.1.0.2 (49.9 KB) by
MathWorks Plot Gallery Team
Create a 2D scatter plot
This is an example of how to create a 2D scatter plot in MATLAB®.
Read about the "scatter" function in the MATLAB documentation.
For more examples, go to MATLAB Plot Gallery - http://www.mathworks.com/discovery/gallery.html
Cite As
MathWorks Plot Gallery Team (2026). MATLAB Plot Gallery - Scatter Plot 2D (https://se.mathworks.com/matlabcentral/fileexchange/35287-matlab-plot-gallery-scatter-plot-2d), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Scatter Plots in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
