Skip to main content

Questions tagged [color]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
12 views

ColorScaling only to one axis on Discrete3dPlot?

I am trying to visualise a probability function in terms of number of trials/number of successes, and I'm using Discrete3DPlot to do so. I've figured out how to set ...
Lee Davis-Thalbourne's user avatar
4 votes
2 answers
226 views

Extrusion of a parametric surface with different face and boundary colours

Problem statement I want to extrude a parametric surface and colour its front faces, back faces and boundaries differently. Define plot options ...
eldo's user avatar
  • 74.7k
2 votes
1 answer
46 views

ContourPlot3D uniform color regardless of view point

Working with ContourPlot3D I need my 2-surface to have the same color regardless of the viewpoint. However, when I rotate the figure, the darkness of the color changes. These two images belong to the ...
tupoliedro's user avatar
12 votes
2 answers
770 views

Frank Stella's Protractor Series - can we reproduce Lac Laronge IV?

Frank Stella Frank Stella, one of the most fanous contemporary American artists, died on May 4 at the age of 87 at his home in Manhattan. I learnt this from our colleague Yarchik, who, a few days ago, ...
eldo's user avatar
  • 74.7k
0 votes
0 answers
27 views

Shortcut for changing background color

I often highlight parts of my notebooks in different colours. I have always used the mouse to do this: Format--> Background Color--> Color. This gets tedious. Is there any way to assign a ...
andring's user avatar
  • 163
0 votes
1 answer
43 views

Scaling problem with plot and legend

First of all look at these code- ...
Debojyoti Mondal's user avatar
15 votes
4 answers
1k views

Reproducing Roman Verostko's FF 2004 Drawing

Roman Verostko Roman Verostko was born in 1929 in Tars, Pennsylvania. In the early 1980's, following 30 years of painting, he began executing algorithmic drawings with a pen plotter. Today his studio ...
eldo's user avatar
  • 74.7k
3 votes
1 answer
55 views

ListContourPlot skipping over some colors

I'm trying to make two ListContourPlots with the same contour spacing and colors. One plot has a larger maximum value that seems to be screwing with the even color distribution in the plot: ...
icebox207's user avatar
  • 131
2 votes
1 answer
127 views

How to define styles for a mesh based on a function of element index

My main objective is to have control over style of each element in a mesh. I don't quite understand how ElementMeshToGraphicsComplex works. It looks very cool and ...
MathX's user avatar
  • 1,709
1 vote
1 answer
27 views

Color different curves on a graph [duplicate]

How can I give color to each curve associated with each value that the parameter $a$ takes in a list? Initially I did the following ...
Dayzk's user avatar
  • 147
8 votes
4 answers
268 views

Shading region under (or over) a curve in horizontal bands

It seems like this should be simple, but I have spent most of the day trying to find a similar example on the web and there appears to be nothing remotely similar. Since I cannot find a way to make ...
Mike Pugh's user avatar
1 vote
1 answer
70 views

How combine two DensityPlot3D in only one graph

I need to combine two DensityPlot3D in only one graph but the "Show" doesn't work for that. ...
Rubens Filho's user avatar
3 votes
2 answers
239 views

Color gradient to two sets of curves

Maybe it's a basic question but how can I achieve a gradient color style on the curves above the origin and a different style on the curves below the origin? I tried the following: ...
Dayzk's user avatar
  • 147
2 votes
1 answer
81 views

Smooth gradient across colors

How to achieve smooth transition between the colors? As can be seen on the first image the color transition is not smooth. There is a narrow yellow line above yellow arrow and narrow cyan line above ...
azerbajdzan's user avatar
  • 18.8k
5 votes
2 answers
128 views

Colors change in ReliefPlot with adding randomness

In the documentation of ColorData I found this esthetically beautiful image created by ReliefPlot. ...
azerbajdzan's user avatar
  • 18.8k
4 votes
1 answer
122 views

How to accentuate subtly colored regions in DensityPlot

I'm having troubles in adjusting the colors shades/contrast/hue of the following typical plot: As you can see, there are two dark regions above and under the central part. I need to accentuate their ...
Cham's user avatar
  • 4,093
5 votes
1 answer
175 views

How to improve this atomic orbitals manipulate box output?

I made this Manipulate box to show the atomic orbitals in the $(x, z)$ plane: ...
Cham's user avatar
  • 4,093
5 votes
3 answers
167 views

How to get exact $\LaTeX$ colours in Mathematica?

In Latex, using the following code before \begin{document}, one can define different colours as in the shared images. ...
user444's user avatar
  • 2,446
11 votes
1 answer
261 views

Early computer art - reproducing Harold Cohen's turtle drawings

Harold Cohen Harold Cohen (1928 - 2016) was a British pioneer of computer-generated art. After his studies at the Slade School of Fine Arts in London he became soon well known in London as an abstract ...
eldo's user avatar
  • 74.7k
4 votes
3 answers
143 views

How can I define a specific colour for the textures from the ExampleData?

Suppose I have the given Mathematica code, ...
codebpr's user avatar
  • 2,253
5 votes
1 answer
225 views

Colouring Bifurcation Diagram

I need to plot the bifurcation diagram for the function given below. g[x_, r_] := 6 x^2 + r x^4 + x^6 Plot[g[x, -4.9], {x, -2, 2}] Bifurcation Code for ...
user444's user avatar
  • 2,446
6 votes
2 answers
167 views

Coloring the line in ListLinePlot according to a rule

Mathematica noob here. So I have a list of values (lvalues) which are real numbers, some positive, some negative. I want to use ListLinePlot to plot them, but I want the line to become red when goes ...
Alberto Sierraalta's user avatar
4 votes
2 answers
157 views

Contour Plot - L-Shaped

I am trying to plot a contour with an L-shaped form. I started by illustrating the contour function (horizontal, orange) and adding a line (vertical, black). ...
Tom's user avatar
  • 299
14 votes
2 answers
479 views

Reproducing two of Victor Vasarely's colored cuboids (Eroed-Per and Gestalt-Bleu)

Victor Vasarely (1906 - 1997) was a Hungarian-French artist. He is, along with Bridget Riley, the best-known representative of Op Art (optical art). Based on the color experiments of the Bauhaus, he ...
eldo's user avatar
  • 74.7k
2 votes
1 answer
77 views

How to set the same scaling for multiple density plots while using the ColorBar package or user-defined colorfunction?

I know questions with this theme have been asked before, and the one-line answer to them is- "Use ColorFunctionScaling -> False" But my specific ...
codebpr's user avatar
  • 2,253
0 votes
0 answers
74 views

Help making 4D heatmaps using ListSurfacePlot3D on a 4D {x,y,z,v} dataset

I am attempting to create a color heatmap using ListSurfacePlot3D with a dataset in the format {X, Y, Z, v}, where 'v' represents the color scale. The dataset is stored in a CSV file with four columns:...
Mario Gutierrez Diaz's user avatar
4 votes
2 answers
164 views

Manipulating color theme inside color function

I have the following code: ...
codebpr's user avatar
  • 2,253
9 votes
2 answers
279 views

Envelopment of space curves

In their answers to Creating sculptural forms The respondents showed how to envelop space curves with a net-like structure. I used kglr's answer to create the following function: ...
eldo's user avatar
  • 74.7k
1 vote
1 answer
131 views

Finding the dominant wavelength and excitation purity from ChromaticityPlot

I have a set of colors which I plot with ChromaticityPlot: ...
Rodrigo's user avatar
  • 1,534
4 votes
2 answers
248 views

Each Line in Different Colour after Reflection

The following code gives me a reflection pattern inside a circular billiard from time, $t=0$ to $t=10$. The figure below shows all the rays are in a single colour after reflection. However, I want ...
user444's user avatar
  • 2,446
6 votes
3 answers
443 views

How to create a specific lighting in 3D graphics for a disk?

I am trying to get a 3D disk with gradient lighting that is darker at the center and gradually goes white at the edges. I managed to get the correct lighting but could not make it a circular shape ...
MMA13's user avatar
  • 4,732
14 votes
1 answer
472 views

How can we color perforated polyhedra?

1. Color a polyhedron It is relatively easy to color a polyhedron using its polygon edge counts as color directive: Color according to edge count ...
eldo's user avatar
  • 74.7k
3 votes
1 answer
93 views

Which ColorFunction was used for this ListDensityPlot?

I want to reproduce the plot below with ListDensityPlot, but I don't know which ColorFunction to choose. Can you help me figure ...
Schrodinger's user avatar
8 votes
5 answers
708 views

How to obtain the names of a list of named colors?

I would like to obtain a framed table, within which the first row contains round color swatches, while the second row contains the corresponding color name. From the document, ...
metroidman's user avatar
5 votes
1 answer
234 views

Color gradient to ticks in a plot

Simple question, but I did not find the answer anywhere: Is it possible to add a color gradient to the ticks in a plot? For example, imagine to have a density plot where some areas are very dark and ...
Lele's user avatar
  • 428
0 votes
1 answer
54 views

Adding an empty circle to this plot, plus changing styles

I cannot find a god solution to highlight the intersection point between these two curves, in the plot I made: ...
Enrico M.'s user avatar
  • 961
9 votes
5 answers
3k views

Digits of Pi in colored spiral

In How to make the digits of π go around in a spiral like this? it is described how to plot pi in a spiralform (in my case as binary number): ...
ralf_7's user avatar
  • 93
4 votes
2 answers
141 views

Changing ColorTable on Existing Contour Plots

Context Recently, Bob Sandheinrich published a very useful code to change interactively colours of a given plot as follows: ...
chris's user avatar
  • 23k
0 votes
1 answer
87 views

Problems with RegionPlot and Legended

I have a RegionPlot that shows a couple of problems. The first one is that the region that borders the axes is overpassing them, there's a bit of the colour of the region outside the limit of the axes....
Sohan Navarro Costa's user avatar
3 votes
1 answer
186 views

Convert black and white pictures into color images

I have a digital image of an old black and white picture. Is it possible, using Mathematica, to convert this old picture into a black and white image? For example: This transformation was done using ...
Michiel van Mens's user avatar
0 votes
0 answers
38 views

Density Plot Not Printing The Entire Range

I have a density function running on a piecewise function. When I plot the x range for full 0 to 1, the upper right corner color range doesn't print, but it works when I plot the x range for that ...
Monire Jalili's user avatar
15 votes
2 answers
726 views

How to produce an Itten color star?

Johannes Itten (1888 - 1967) was a Swiss painter and designer From 1919 to 1922, Itten taught at the Bauhaus School in Weimar, teaching his students the basics of materials, composition and color. ...
eldo's user avatar
  • 74.7k
4 votes
2 answers
174 views

Modify the color scale in ColorFunction

I'm trying to get the following intensity map with the same style and colors But the closest I got was using SolarColors in Mathematica ...
Soliton-104's user avatar
0 votes
0 answers
64 views

Creating a 3D Plot with Colored Lines from 2D Data Sets with Color Labels

I got the following table of my data:Amplitudes at each site for different t1-values and energy eigenvalues]1 and I am trying to plot the amplitudes at each site for every t1-value such that a 3Dplot ...
Carolina M. S.'s user avatar
0 votes
0 answers
188 views

Problem generating the heat map

I'm trying to generate the following heatmap (Figure 2, page 7 of this article) The equation I used for the heat map was ($R_{sh}$, equation 52 in the paper) ...
Soliton-104's user avatar
0 votes
0 answers
100 views

Linear RGB to Stockman-Sharpe LMS conversion

I'm working on a psychophysical project that aims to emulate LMS cone responses accurately. My final goal is to transform linear RGB coordinates to physiologically relevant LMS responses (Stockman ...
Vyso's user avatar
  • 1
0 votes
1 answer
76 views

Trouble colorizing a table using grid command

I am trying to colorize rows in a table defined with the Grid command using ItemStyle. I have simplified my problem down to the following. Table["Blue",2] evaluates as the list, {Blue,Blue}. ...
matrixbud's user avatar
  • 435
1 vote
3 answers
567 views

Can colors be included in strings?

Colors are displayed in output like squares of the corresponding color. Say, if input is Blue, the output will be a blue square. I would like to use this in a ...
მამუკა ჯიბლაძე's user avatar
8 votes
3 answers
661 views

Curvature of a Klein bottle

1. Problem statement An old answer of mine: Computing Gaussian curvature shows how to color parametric curves and surfaces according to their curvature. However, the methods used there will fail for ...
eldo's user avatar
  • 74.7k
3 votes
2 answers
219 views

How to sort a list of colours and assign it to four categories?

I have a list of colours with RGB values like this : ...
dinesh's user avatar
  • 105

1
2 3 4 5
26