Linked Questions

5
votes
2answers
2k views

How to mimic MATLAB parula color scheme efficiently? [duplicate]

Does anybody know how to mimic MATLAB's default scheme for DensityPlot, just like this picture shows: update There are several answers already, Thank you very ...
3
votes
1answer
1k views

Beautiful Temperature Map [duplicate]

Simple Question: I want to create beautiful density plots like those on a Wikipedia page: Mathematica has a lot of built-in color functions but none of them is as good as Wikipedia's. I tried "...
535
votes
19answers
135k views

Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
64
votes
3answers
5k views

Python-style plots in Mathematica

I love making plots in Mathematica. And I love to spend a lot of time making high-quality plots that maximize readability and aesthetics. For most cases, Mathematica can make very beautiful images, ...
27
votes
4answers
2k views

Create colour with given lightness value

How can I create a colour of my chosen hue with a given fixed lightness level? For example, how can I create a reddish colour, col, so that ...
17
votes
4answers
2k views

Colormaps for linear visual perception AND grayscale printing

There are already good approaches for "better than standard" colormaps in Mathematica, which are optimized for a more linear perception between the visible colors and their underlying values, here in ...
5
votes
6answers
812 views

Pretty heat maps

I would like to create a heat map like that following: This code: f[x_, y_] := (x^2 + y^2)^2 Exp[-((x^2 + y^2)/5)] DensityPlot[f[x, y], {x, 0, 5}, {y, 0, 5}] ...
2
votes
1answer
362 views

Color a single contour from a ListContourPlot3D using values from a list

I want to map an electrostatic potential onto a density map. How can I color a single contour from a ListContourPlot3D using the values from another list? Make a ...
1
vote
2answers
541 views

Matching colors in BarLegend and colorfunction

How I can use Hue as color function in BarLegend in this density plot? ...
4
votes
1answer
398 views

Integration of angular distribution along cartesian axis

I am plotting an anisotropy distribution function as color coding on the surface of a unit sphere with this code: ...
2
votes
1answer
191 views

Color three dimensional plot and contour plot the same

Consider: ...
1
vote
0answers
35 views

Adapt ColorFunction to Plot Values

I have data from a stress-strain simulation of a washer: Please download it here: https://expirebox.com/download/46f2e72dd2bd04e857e9209b78f40ddf.html The output should look like this: I am trying ...