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
0answers
36 views

How to get colors at points in Graphics3D?

To get the color at a 2D point in Graphics you can Rasterize it and look up the pixel value, but not for ...
0
votes
1answer
35 views

Specifying custom ColorFunction for ListPlot3D

I have some data that takes the shape {{x,y,z}...} = somedata. I also have a custom gradient which I made using ...
0
votes
0answers
41 views

Intersection Region of two Conic Hull

I have the following semi-infinite conic hull, r1=ConicHullRegion[{{0,0,0}},{{-1,0,0},{0,-1,0},{1,0,1}}]; r2=ConicHullRegion[{{0,0,0}},{{-1,0,0},{0,-1,0},{0,1,1}}]; ...
2
votes
1answer
53 views

How to remove the parallelepiped that encloses the writing or make it invisible?

I have this code that I found somewhere and I love what it does, I've been checking the "line" command to remove the line or make it invisible but I can't get it, and the other part of the ...
0
votes
0answers
69 views

White Point Correction in ColorConvert

One can do color space transformation with Mathematica's ColorConvert function. This function supports basically all relevant color spaces. However there is one not well documented statement in this ...
1
vote
1answer
58 views

Coloring Graphics3D as a Function of Spatial Coordinates

I would like to plot a Graphics3D object colored based on the value of some spatial function. For example to plot a triangle colored by the function ...
2
votes
5answers
213 views

Min & Max value for colorbar doesn't match DensityPlot

...
3
votes
1answer
57 views

Color gradient in graphics?

I would like to color gradient (Red to Blue) the following curve: gr = Graphics[{Arrow[BezierCurve[{{0, 3}, {.8, 2}, {1.8, 1.7}}]]}] Any help will be appreciated.
1
vote
1answer
29 views

ColorFunction issues. Using different colors for different values of x

I am attempting to generate a plot for which the color changes for selected values of x as determined by a function. Below, is my best, unsuccessful attempt. The specific problem with this is that it ...
0
votes
2answers
59 views

Make a density plot from a file where the data makes a shape with a hole in it

I have a .dat file and I want to make preferably a density (or surface) plot with it. ...
1
vote
1answer
37 views

Add (rainbow) colors to Ruleplot[]

I'm using Ruleplot[] to plot the rules of my cellular automota. I'm using multiple 'colors' (= number of states $k$ ) and I want to color them a different color than the default grayscale. The ...
1
vote
2answers
29 views

Clear Style to standard output expressions in the same cell

I would like to reset an expression in a Standar Output inside a Cell. For example, ...
0
votes
1answer
82 views

Colors in Manipulate[] plot change during execution

UPDATE WITH WORKING EXAMPLE Following what @Kuba said, I've attempted to find a MWE that shows the problem without too much of the other stuff, and here's what I've done. Here's a couple of new GIFs ...
7
votes
5answers
371 views

How can I count the color pixels in each partition of the image

I have a image of 1000 x 1000 pixels of which I have made 5 x 5 partitions. After that I am looking for a way to count number of color pixels in each partition. Thanks in advance for help. ...
0
votes
1answer
64 views
2
votes
1answer
50 views

Coloring lines as a function of coordinates

I want to colorize lines as a function of coordinates in 3D. Here is my code. In this graphic I used one color. My aim is using a color function based on 3d coordinates. ...
5
votes
2answers
590 views

Anti-aliasing of red text on white background

The following code uses Graphics to display text "Mathematica" of pure red color on white background. Then it displays all colors used in the rasterized ...
1
vote
1answer
92 views

Coloring the surface of a SphericalPlot3D using the image of a function $\Phi (r,\theta,\phi)$

So the thing is I have a SphericalPlot3D of a Potential function and I want to color it considering the image of the function. The functions are: ...
3
votes
1answer
87 views

ContourPlot - ColorFunctionScaling does not help to get ColorFunction properly

I have a ContourPlot where every contour should be displayed with a different color ...
2
votes
1answer
48 views

Vector color function varying upon vector direction

I have the following code: ...
3
votes
0answers
51 views

Curated data: Human cone responses?

Does Mathematica have curated data on the spectral responses of the three classes of human cones (for color vision)?
3
votes
2answers
78 views

Multiple Matrixplots with a common colorbar, but can't distinguish the values

I need to create a group of MatrixPlots with a common color bar. The matrices have the value at different scale. Here I have written the code where matrices are created with ...
5
votes
3answers
175 views

Assigning a Color to each Point on the Plane

I have a dataset consisting of points on the plane and a corresponding color. These colors divide the plane into a few distinct regions. I would like to make a plot or diagram that nicely shows this ...
0
votes
1answer
21 views

How to Achieve Better Contrast with ColorFunction

I'm trying to create a plot of values of following structure and would like to visualize its vector length as a function of colour. ...
3
votes
1answer
49 views

Can HatchShading be applied to a general Graphics3D object?

Is it possible to apply HatchShading (a new Mathematica 12 option for Plot3D and friends) to a generic Graphics3D object (for example, spheres, tubes, and arrows), such as: ...
1
vote
2answers
37 views

How can I use Part Assignment to change sublists into other sublists (without changing levels)?

Here's a 5x5 grid. Using predefined starting points, I'd like to change some sublists into something else (e.g., the values for a color, "drawing an opaque box"). ...
2
votes
1answer
57 views

How to apply ColorFunction only to data visible within PlotRange?

The following: ...
2
votes
3answers
74 views

How can I make a projection of ParametricPlot3D onto 2D surface without shading?

I have a Parametric Plot that has very high and low values. I used this answer Project RegionPlot3D to 2D using hue/color function to show third dimension to project the surface onto the 2D plane. ...
1
vote
2answers
41 views

ListDensityPlot3D with thick points or BarLegend for Graphics3D

I have a small number of points in 3D space. Each point has an associated weight (real number). For each point, I want to plot a [visible point] whose color is a function of the weight value. It seems ...
2
votes
1answer
63 views

Create a CountorPlot or DensityPlot using ColorData as input

I have created a function which takes two arguments and outputs an RGBColor, and I was hoping that I could use this to create the equivalent of a ...
3
votes
1answer
69 views

ListDensityPlot using a customized colorfunction

I would like to plot a figure using colorfunction in Mathematica. I opened the "Color Schemes" from the Palettes menu, but did not find a proper colorfunction. Questions: Please see the ...
1
vote
1answer
47 views

Coloring data points with LabelingFunction included

I have a plot generated by: ListPointPlot3D[data -> labels, PlotTheme -> "Scientific", LabelingFunction -> Center] and I want to color the data ...
0
votes
0answers
55 views

Image merge and white balance

I have three images of red, green, and blue channels of white particles. I wonder if anyone can help me to merge them and balance the white so that the particles in the merged image looks white. ...
1
vote
1answer
48 views

How to do ListDensityPlot using this kind of colorfunction?

I would like to plot a figure using this kind of colorfunction in Mathematica. I opened the "Color Schemes" from the Palettes menu, but did not find a proper colorfunction.
11
votes
4answers
274 views

Change Opacity along a ListLinePlot

I'm trying to change the opacity of a line in a ListLinePlot for increasing x-value. E.g. the line should have opacity 1 at beginning and shade than down to opacity along the line. I want to take the ...
4
votes
2answers
66 views

Visualization of a set of data with a shape $ m \times n \times 3 $ with the last dimension interpreted as a color scale

Actually, if the data is shaped as $ m \times n \times 2 $, functions like ListLinePlot just do the job. But now I want to add colors to the curves according to ...
1
vote
1answer
39 views

How to define the colorbar of my plot manually

Let's say I have an arbitrary plot, for example a plot of a finite points that I colored them by my own taste independent of any formula like $f(x,y)$ or density etc. Or I have several plots and then ...
1
vote
1answer
41 views

Force fixed colormap range for DensityPlot with custom Colormap

I have an issue with the automatic scaling of colors in DensityPlots when i use my imported Jet colormap from Matlab (followed this answer). I want to keep red (highest value in colormap) always to ...
1
vote
0answers
80 views

How can i change IDE color theme of Mathematica Wolfram? [duplicate]

I'm a new in mathematica wolfram, please help how can i change IDE colors theme's, text and background? I can't work with bright white screen? I use Mathematica 12.1. and want color theme like a ...
3
votes
1answer
51 views

ListPlot with piecewise colors

I have a CSV file that specifies three real numbers x, y, v, and I need to generate a plot (ListPlot, joined) with the lines ...
6
votes
2answers
133 views

Filling and colouring

I am plotting to functions that look like this: I have used Filling -> Axis inside a plot and it produces the above example. My question is if I can more ...
5
votes
0answers
45 views

Suggestion for coloring the brackets

In debugging my own codes, I spend countless time, not to mention degrees of frustrations, in attempts to find the ill-balance of the brackets, both the square and the curly ones. Is there a way that ...
1
vote
2answers
50 views

ColorFunction or PlotStyle Based on List

I am plotting the values of a continuous, but complicated function Energy[x_] via ListLinePlot. Another function ...
3
votes
2answers
117 views

Programming a Colour Blend

Huge thanks to those who have helped me find my footing especially to @bRost03 who did the programming below. I hope you guys don't mind if I clarify one thing about the programming - I think I have ...
1
vote
1answer
42 views

Rewrite ListPlot using Graphics while perserving point color?

I have a lot of data points, and I have noticed that plotting using Graphics is usually much quicker than plotting with ListPlot. The problem is I am trying to color the data points based off some ...
14
votes
1answer
318 views

Change colours of Code

I want to change the colour of some important variables in my code. My code is quite long and sometimes I have to change these specific variables, but it is quite annoying to search them, beacause ...
5
votes
1answer
74 views

How to make BarLegend colors conform with MatrixPlot ones?

It is needed to visualize some data set and built a color bar for describing the data values. The following array is given ...
3
votes
2answers
191 views

DensityPlot3D produces weird bubbles

I use DensityPlot3D to plot a 3D function with two minima R1,R2 (roughly the centers of the two blue regions). But as one can ...
4
votes
1answer
84 views

Plotting Graphs with multi-edges that have two colors per edge

I would like to plot graphs with multiedges, where each edge could have two colors (color 1 at vertex A and color 2 at vertex B). A very similar questions for graphs without multiedges has been ...
4
votes
1answer
87 views

Plotting Graphs with edges that have two colors

I want to plot a coloured Graph in Mathematica. The speciality, however, is that my edges can have two colours. Color A close to vertex A, and colour B close to vertex B. I was able to find plots for ...

1
2 3 4 5
20