Skip to content

Commit 6140cf1

Browse files
committed
Initial commit.
0 parents  commit 6140cf1

File tree

6 files changed

+486
-0
lines changed

6 files changed

+486
-0
lines changed

Example.mlx

1.4 MB
Binary file not shown.

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# densityScatterChart
2+
3+
Version: 1.0
4+
5+
Density Scatter Chart is a scatter where the color (and/or transparency) of the markers indicates the density of points.
6+
7+
![Example densityScatterChart](/densityScatterChart/exampleDSC.png)
8+
9+
How to use:
10+
```
11+
x=randn(1000,1);
12+
y=randn(1000,1)
13+
densityScatterChart(x,y); % create a chart where color varies with density
14+
15+
%% You can set properties using name value pairs
16+
% Create a chart where transparency varies with density:
17+
densityScatterChart(x, y, 'UseColor', false, 'UseAlpha', true);
18+
19+
% Specify a title:
20+
densityScatterChart(x, y, "Title", "My density scatter chart");
21+
22+
%% You can also set properties after making the chart:
23+
d=densityScatterChart(x, y);
24+
25+
% Make a steeper density view
26+
d.DensityExponent = 2;
27+
28+
% Use alpha, but make it a subtle effect by using a small range:
29+
d.AlphaRange = [.2 .8];
30+
```
31+

SECURITY.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Reporting Security Vulnerabilities
2+
3+
If you believe you have discovered a security vulnerability, please report it to
4+
[security@mathworks.com](mailto:security@mathworks.com). Please see
5+
[MathWorks Vulnerability Disclosure Policy for Security Researchers](https://www.mathworks.com/company/aboutus/policies_statements/vulnerability-disclosure-policy.html)
6+
for additional information.

0 commit comments

Comments
 (0)