Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 5274

Questions on the color models, schemes, named colors and color functions supported by Mathematica.

9 votes

Adjusting Density Plot Color Function for Diffraction Simulation

This is a pragmatic approach, possibly if you understand more about light and lasers, you could do way better. I just use trial and error, with "manual" Blend: DensityPlot[(Sinc[\[Beta]])^2, {\[Beta] …
Pinguin Dirk's user avatar
  • 6,539
5 votes

Coloring vertices using GraphPlot

Let's say you have some random matrix, such as: mm = RandomChoice[{0, 1}, {12, 12}]; and the lists aa = {1, 4, 5, 8}; bb = {2, 3, 6, 7, 9, 10}; cc = {11, 12}; Now, GraphPlot can be used to plot …
Pinguin Dirk's user avatar
  • 6,539
8 votes

Using two color functions in a MatrixPlot

I am not sure I understand. Here's what I understand: You want to use MatrixPlot, the built-in command. Then, the following might do what you want: With[{max = Max@#}, MatrixPlot[#, Colo …
Pinguin Dirk's user avatar
  • 6,539
3 votes
Accepted

Normalize the PlotLegends and z values for two DensityPlot

One approach could be to set the scaling of the colors yourself: (I slightly cleaned up the code a bit, so that we do not get confused by double-setting the options) Module[{R1, R2, x, \[CapitalDelta …
Pinguin Dirk's user avatar
  • 6,539
3 votes

Randomly assigning color to Graphics3D objects?

Based on your code (using RandomInteger), you could include the "Color-generation" in the pure function, so that any time you map the function on the sphere-list, a new random sample is drawn: Graphics3D …
Pinguin Dirk's user avatar
  • 6,539
2 votes

How to paint part of DateListPlot?

Here's another suggestion - there are (at least) two caveats: you need rather dense data (I fill points from axis, so not really good for only single points in a year) I can't get it working for Da …
Pinguin Dirk's user avatar
  • 6,539