Heatscatter plot for variables X and Y
Version 1.1.0.0 (6.21 KB) by
Lukas
Scatter plot with heatmap-like density and optional least-square-fit
This function generates a scatter-plot for two variables X and Y. The density of the data is calculated and visualized as a heatmap-like coloring of the markers.
Optionally, the correlation and least-square-fit of the data is calculated and integrated in the plot.
Output-file can be saved to any matlab-supported filetype.
Cite As
Lukas (2026). Heatscatter plot for variables X and Y (https://uk.mathworks.com/matlabcentral/fileexchange/47165-heatscatter-plot-for-variables-x-and-y), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012a
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.
