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

learn more… | top users | synonyms (2)

5
votes
3answers
81 views
2
votes
1answer
46 views

Replicate $\LaTeX$ PGF colormap/hot to Mathematica color scheme

I want to replicate the color scheme colormap/hot from $\LaTeX$ PGF's package pgfplots. The color scheme ...
2
votes
1answer
108 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 ...
7
votes
1answer
97 views

How to replicate v9's color conversion to LAB under v10

Mathematica 10(.0.0) appears to use a different flavor of the LAB color space, but I would like to emulate the same behavior observed in version 9(.0.0). v9 ...
1
vote
0answers
55 views

How to properly set ColorFunction and Specularity in ReliefPlot [on hold]

I have two questions about ReliefPlot: How can I set the Specularity without changing ...
0
votes
1answer
68 views

How to colorize curves intersection in a manipulate function

I need to show the intersection area of two curves, using the manipulate function in Mathematica. Here's a fully working example, and a preview below it : ...
3
votes
2answers
64 views

Automatically highlighting or coloring specific terms

I am using Mathematica to perform Newton quasi-linearization of the non-linear terms during discretization of PDEs for numerical solution. These expressions can involve tens of terms (depending on the ...
1
vote
1answer
46 views

How to add color to listplot

I have generated many points in a 2-dimensional space (x,y). How do I use color to represent different values of f(x,y) in ListPlot? Does ...
0
votes
2answers
58 views

Issues with ColorFunction

I have a function f[u,v] from $R^2 \to R$ that I want to use like coloring function over the surface: ...
2
votes
2answers
77 views

Special Coloring of two 3D Graphics with same values

As you can see in the picture below, I have plotted three different functions. Since two functions (red and blue) have the same value for a certain region (equity > 60), I was wondering how I can make ...
1
vote
1answer
63 views

Color of lines in ParametricPlot3D

I have a function of two variables which returns a vector of three components. For example func[l_,t_]:={ x=.... y=.... z=.... {x,y,z}} Now I ...
3
votes
2answers
99 views

ListDensityPlot with discrete values and colors

I have a file with mesh points and a value that indicates the domain the point belongs to https://www.dropbox.com/sh/ll9hb3oxxreufsg/AABvU7nufHhyHY3W4ausanJ6a?dl=0 I would like to plot using ...
0
votes
1answer
91 views

ContourPlot color problems

I tried to use contourplot to a 2D fucntion with rescaled color, the code is given below ...
3
votes
1answer
40 views

What is the default ColorFunction for MatrixPlot?

I think the the default ColorFunction for ArrayPlot is ...
9
votes
2answers
379 views

How do you convert RGBColor to an HTML-style string?

If I run some color processing function, like: Blend[RGBColor /@ {"#DC4E00", "#000000", "#822250", "#FCC11B"}] I get back a ...
6
votes
1answer
109 views

Plotting piecewise functions with distinct colors - issue found [duplicate]

I've been making use of the following thread: Plotting piecewise function with distinct colors in each section A handy feature I found there goes as follows: ...
28
votes
2answers
7k views

What are the standard colors for plots in Mathematica 10? [duplicate]

Mathematica 10 release appears to have changed the default styling of plots: the most visible changes are thicker lines and different default colors. Thus, answers to this stackoverflow question are ...
3
votes
1answer
76 views

SmoothHistogram3D with a ColorFunction representing z-values of the data set

I'd like to make a 3d plot of a list of {x, y, z} points, where the height of the plot scales with the density (as in histogram) of the xy-values and the color ...
3
votes
1answer
74 views

mask specific range of RGB color frome an image with lower and upper threshold

I'm trying to detect a specific range of RGB color from an image with the lower threshold [180.150.0] and upper threshold [255,255,150]. I am just new on Mathematica please help me with clear ...
5
votes
2answers
1k views

How to color lines in Epilog

I often use Epilog to label lines within graphs, and I like to coordinate the color of the labels with the color of the lines they're labeling. This is no problem. However, I'm currently working on a ...
18
votes
1answer
990 views

Is it possible to insert new colour schemes into ColorData?

Because of the standards in my field, for many plots I need to use (or at least end up using) rather narrowly defined colour schemes, and in particular the Matlab "Jet" scheme, which is well described ...
3
votes
1answer
72 views

Colour of lines in ContourPlot3D

How do I change the colour of these lines from black to, let's say, red? ...
6
votes
2answers
281 views
29
votes
2answers
870 views

How can I use Kenneth Moreland's “Diverging Color Maps for Scientific Visualization” in plots?

I often want to plot two dimensional data that is centered around zero (for me, this is usually a 2D optical spectroscopy signal, but there are other cases), and the MATLAB "Jet" color scheme is ...
2
votes
1answer
170 views

Polar color coding for complex function plots?

Having browsed this Q on plotting complex functions and the Zeta page, I don't see anything as nice as this plot from Matilde Marcolli's slides "Geometry and physics of numbers". Looks like ...
2
votes
1answer
60 views

ListDensityPlot — bar legend colors inconsistent with plot value coloring [duplicate]

I want to make a ListDensityPlot of an array of values that happen to be 1. To mimic this, use: ...
14
votes
6answers
815 views

Default Chart Color Doesn't Match

I have looked through other posts to find out what the default plot color is, but when I use it, the color doesn't seem to match. Can anyone explain why I'm seeing different output? The reason I ask ...
4
votes
2answers
145 views

How to customize color scheme to mimic that in Origin?

Origin is a software for plotting. The standard color scheme used by Origin is So how to mimic this color scheme in mathematica, so we can use it in ...
7
votes
1answer
123 views

Why does ColorConvert give a different answer than other websites when converting from RGB to XYZ?

I was recently making a function that needed to convert between several different colorspaces, and I decided to do it manually. @J.M. used many builtin functions to accomplish the same goal. When I ...
39
votes
4answers
2k views

Is there an easy way to use Matteo Niccoli's perceptual color maps for 2D plots in Mathematica?

I have been using the ubiquitous Jet color palette for 2D plots for some time now, and don't really care for it. Then I came across the series of blog posts, The rainbow is dead...long live the ...
1
vote
2answers
84 views

Matching colors in BarLegend and colorfunction

How I can use Hue as color function in BarLegend in this density plot? ...
1
vote
1answer
116 views

Can't get rid of vertical background color

I am trying to use GraphicsGrid, the background option is set to white, as well as for the separate graphs. But there are still grey stripes. What is the reason for ...
-1
votes
1answer
87 views

Is it possible to colour only one column of a matrix? [closed]

I was wondering if it's possible to colour a column or a row in a matrix. For example is it possible to add colour for one of the rows/columns of the following matrixform code? ...
23
votes
11answers
3k views

How to convert a hex color string to RGBColor?

For example: "#FF8000". How could I convert it to RGBColor or Hue?
0
votes
1answer
92 views

How to colorize a 3D image [closed]

I have a 3D image where the values are in {1/4, 2/4, 3/4, 4/4} and its size is {134, 134, 67}. I used Image3D to display it. However, I am wondering if there is a possibility to colorize the image by ...
6
votes
1answer
156 views

Is it possible to apply a ColorGradient to a string Style?

After reading through the language reference on Style, ColorSchemes, ColorData and ColorFunction, I am at a loss as how to make a string appear with gradient colors. And now that I am curious, I am ...
3
votes
1answer
137 views

default RGB coloring

I am playing with some basic genetic algorithms to recreate input images by transparent plane figures (similar like here:). Everything would work great but the speed is terrible. I was looking for a ...
1
vote
0answers
67 views

Ergonomic night time reading settings [duplicate]

I was wondering if Mathematica had a built-in ergonomically safe night time reading mode for the notebooks. I was thinking of setting something up myself but I do not know the ergonomics/eye safety ...
4
votes
1answer
128 views

Render Graphics3D of anatomical data in color

I am trying to render a bone structure in color in Mathematica 10.3, but none of the obvious methods seem to work: ...
1
vote
1answer
281 views

Filling between ParametricPlot and Plot

There are some similar questions: (1) (2) have been ask, but I think this is a different one. If we have a ParametricPlot and a ...
3
votes
1answer
67 views

DensityPlot with the same color scale in Show

I am trying to align color scale for continuous plots that have different ranges. Here the color scale exhibits a discontinuity even with the same PlotRange ...
2
votes
1answer
77 views

ColorDataFunctions applied to Tables of Graphics?

I'm trying to make a graphic according to a List, n. n has integer values that go from ...
1
vote
1answer
76 views

How to color-code a 3D point plot

I am doing a Finite Difference Method for 3D heat diffusion, so I need my ListPointPlot3D to be color coded on a range from deep red to deep blue depending on the temperature of the point. My ...
18
votes
1answer
290 views

Color degrades when using Copy As Bitmap

I have discovered a problem that affects my use of Mathematica. When I use the menu command Edit > Copy As > Bitmap the colors in the copy are subtly degraded. To make this more apparent I copied ...
3
votes
2answers
133 views

Color vector according to angle

One can use the function VectorColorFunction in VectorPlot3d to color vectors according to their norms. How to color vectors ...
2
votes
1answer
230 views

logticks in a colorbar

I have a question on using logarithmic ticks in a colorbar in Mathematica 8.0 . I use the package ColorbarPlot (...
6
votes
3answers
168 views

ListPlot will not color markers in accordance with my color function

I have the following color table: colTable = {{Black}, Table[{Blend[{Blue, Green, Yellow, Red}, x]}, {x, 1/2000, 1, 1/2000}]}; colTable = Flatten[colTable]; ...