Remove size of density plot example

This commit is contained in:
Thomas Mieling
2021-06-25 17:44:45 +02:00
parent 0f7dcd7f18
commit 5a23412046
2 changed files with 2 additions and 1 deletions

View File

@@ -17,10 +17,11 @@ branch/master/MPLColorMap.m";
``` ```
The various color maps are then available as `MPLColorMap["Viridis"]` etc. The various color maps are then available as `MPLColorMap["Viridis"]` etc.
For example For example:
``` ```
DensityPlot[Sin[x] Sin[y], {x, 0, 2 \[Pi]}, {y, 0, 2 \[Pi]}, DensityPlot[Sin[x] Sin[y], {x, 0, 2 \[Pi]}, {y, 0, 2 \[Pi]},
ColorFunction -> MPLColorMap["Viridis"]] ColorFunction -> MPLColorMap["Viridis"]]
``` ```
produces the following image: produces the following image:
![alt text](examples/densityplot.png "Density plot of sin(x) sin(y) using the 'Viridis' color map") ![alt text](examples/densityplot.png "Density plot of sin(x) sin(y) using the 'Viridis' color map")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 57 KiB