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

learn more… | top users | synonyms (2)

0
votes
0answers
6 views

How to properly set ColorFunction and Specularity in ReliefPlot

I have two questions about ReliefPlot: How can I set the Specularity without changing ColorFunction (leaving it as None)? ReliefPlot doesn't seem to honor the Specularity at all, what I am doing ...
1
vote
1answer
95 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 ...
0
votes
1answer
66 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
62 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
57 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
97 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 ...
3
votes
1answer
40 views

What is the default ColorFunction for MatrixPlot?

I think the the default ColorFunction for ArrayPlot is ...
9
votes
2answers
378 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 ...
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
73 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 ...
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? ...
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 ...
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: ...
29
votes
2answers
865 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 ...
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? ...
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 ...
-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? ...
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
135 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 ...
3
votes
2answers
78 views

ListPlot - Conditional Coloring of PlotPoints

...
4
votes
1answer
126 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: ...
3
votes
1answer
65 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 ...
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 ...
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]; ...
2
votes
1answer
39 views

Plot a function that gives a color [duplicate]

I have a function that takes in two numbers and returns a RGB color. I would like to plot that function on a 2D surface. How can I do that?
0
votes
0answers
21 views

How to get an image when having indices of pixels [duplicate]

I am doing a perspective projection of a list of voxel V={v1,v2,v3,...,vn} using the perspective projection matrix 3*4 to get the indices of each pixel pi=(xi,yi). pi=P*vi Once I get the indices, I ...
2
votes
2answers
65 views

mesh vertex coloring

So I created a mesh like this: mesh2 = ToElementMesh[FullRegion[2], {{1, 10}, {1, 10}}, MaxCellMeasure -> 1.]; and want to plot it, coloring the squares: ...
0
votes
0answers
39 views

ColorFunction on a surface [duplicate]

I have a surface in 3D space which is defined by equation in ContourPlot3D. For simplicity let me use x + y == z surface (in reality I have a transcendental ...
4
votes
2answers
418 views

About Hue's period

So we can see that Hue is a periodic function. Its period is 1. And the specifier from documentation. Sorry for I cannot cite my local language documentation. Let ...
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: ...
0
votes
0answers
53 views

Color vectors according to a user-defined function

V[x_,z_]:=x/Sqrt[x^2+z^2]; Ex[x_,z_]=-D[V[x,z],x]; Ez[x_,z_]=-D[V[x,z],z]; The electric field components (Ex,Ez) are to be plotted as a vector field in the x-z ...
3
votes
1answer
108 views

How to pick a color differing significantly from the colors already in a given color list?

Suppose that we want to color a number of objects. We start by selecting some color (randomly). Then we want the color of the next object to be significantly different from the colors already used ...
1
vote
2answers
108 views

Use default ListDensityPlot color scheme in ArrayPlot?

I have some data that I would like to display in an ArrayPlot. I like the default color scheme of ListDensityPlot (Mathematica ...
1
vote
2answers
114 views

FillingStyle and Opacity won't work together in Mathematica

I try to plot some data in Mathematica using the ListLinePlot[]. Unfortunately the plot option ColorFunction, ...
3
votes
1answer
72 views

Creating a grid of coloured points

I wish to create a grid of 31x31 points with coordinates of the form $(k/30,n/30)$ within the unit square, and give each point a colour based on the 2-adic value of both its coördinates. I plan to ...
0
votes
0answers
39 views

How to create a color ListPlot [duplicate]

Assume that I've got a list L={{1, 2, 0.1}, {2, 4, 0.2}, {3, 5, 0.3}} I want to show this list like where first point (from the left side) has a additional ...
0
votes
0answers
20 views

How to adjust ColorFunction to scale the clipped areas in ListDensityPlot? [duplicate]

I have a data set I am trying to visualize, however some of the values seem to be extra large and it's just clipped and blanks are left. I want to rescale or whatever in such a way as this white areas ...
0
votes
2answers
64 views

ColorFunction still interferes with PlotLegends in Mathematica 10?

I want to draw 2 functions in the same plot and I use Show for this. I am using Mathematica 10 and I still have the problem that the legend disappears for the ...
2
votes
2answers
104 views

Using color gradients in Graphics3D

I would like to use the thermometer color gradient in Graphics3D. Taking an example, I have the following: ...
4
votes
1answer
139 views

DensityPlot: giving the same color to a range of values

The following command DensityPlot[x y, {x, -3, 3}, {y, -3, 3}, PlotLegends -> Automatic, ColorFunction -> {"Rainbow"}, PlotRange -> {{-3, 3}, {-3, 3}}] ...
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
102 views

how to use filling in Graphic plots

i'm going to plot some angles in Trigonometric circle by using Graphic command how can i use filling axes by different colors in this program or color between the angles? ...