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
2 votes
0 answers
41 views

Color specific rows of columns [closed]

I have a table like so: data={{1,2,3,4,5,6},{a,b,c,d,e,f},{g,h,i,j,k,l}}; tab=Grid[data,Frame -> All, Background -> {{None,None,None,None,Blue},{}}] Is there ...
Daniela Ramírez Hurtado's user avatar
1 vote
0 answers
24 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
6 votes
2 answers
252 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
  • 77.9k
2 votes
1 answer
48 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
805 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
  • 77.9k
0 votes
0 answers
28 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
  • 383
0 votes
1 answer
44 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
  • 77.9k
3 votes
1 answer
56 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
131 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
28 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
290 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
  • 183
1 vote
1 answer
72 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
247 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
86 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
  • 19.7k
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
  • 19.7k
4 votes
1 answer
124 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,103
5 votes
1 answer
177 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,103
6 votes
3 answers
183 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,550
11 votes
1 answer
276 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
  • 77.9k
4 votes
3 answers
147 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,423
5 votes
1 answer
227 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,550
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
  • 301
14 votes
2 answers
494 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
  • 77.9k
2 votes
1 answer
78 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,423
0 votes
0 answers
76 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,423
9 votes
2 answers
283 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
  • 77.9k
1 vote
1 answer
142 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
251 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,550
6 votes
3 answers
444 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,644
14 votes
1 answer
473 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
  • 77.9k
3 votes
1 answer
94 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
713 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
236 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
55 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
  • 963
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
88 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
189 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
39 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
749 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
  • 77.9k
4 votes
2 answers
176 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
66 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
193 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
110 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
77 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
568 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
672 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
  • 77.9k

1
2 3 4 5
26