densityScatterChart
A scatter where the color (and/or transparency) of the markers indicates the density of points.
Version: 1.1
Density Scatter Chart is a scatter where the color (and/or transparency) of the markers indicates the density of points.
How to use:
x=randn(1000,1);
y=randn(1000,1)
densityScatterChart(x,y); % create a chart where color varies with density
%% You can set properties using name value pairs
% Create a chart where transparency varies with density:
densityScatterChart(x, y, 'UseColor', false, 'UseAlpha', true);
% Specify a title:
densityScatterChart(x, y, "Title", "My density scatter chart");
%% You can also set properties after making the chart:
d=densityScatterChart(x, y);
% Make a steeper density view
d.DensityExponent = 2;
% Use alpha, but make it a subtle effect by using a small range:
d.AlphaRange = [.2 .8];
인용 양식
Dave B (2024). densityScatterChart (https://github.com/MATLAB-Graphics-and-App-Building/densityScatterChart/releases/tag/v1.2), GitHub. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2021a
R2020b 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Graphics > 2-D and 3-D Plots > Discrete Data Plots >
- MATLAB > Graphics > Graphics Objects > Developing Chart Classes >
Help Center 및 MATLAB Answers에서 Discrete Data Plots에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.2 | See release notes for this release on GitHub: https://github.com/MATLAB-Graphics-and-App-Building/densityScatterChart/releases/tag/v1.2 |
||
1.1 | See release notes for this release on GitHub: https://github.com/MATLAB-Graphics-and-App-Building/densityScatterChart/releases/tag/v1.1 |
||
1.0 |
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.