Questions about shading, coloration, or highlighting of different regions in plots, charts, or mathematica graphics.

learn more… | top users | synonyms

3
votes
1answer
59 views

Plot option Filling conflicts with option PlotLabels

The regulars here discuss approaches to numerically unstable systems of higher-order PDEs, and I cannot even paint by numbers … (sigh) A Plot[] of simple curves with ...
4
votes
3answers
165 views

Changing color of overlapping plots

If I have two plots with two different colors, Plot[{Sin[x]^2, Sin[10 x]^2}, {x, 0, 5}, PlotStyle -> {Red, Blue}] is there a way to change the color of the ...
9
votes
6answers
548 views

How to fill a region with lines

How to fill a region with lines: Plot[{t + 1, t}, {t, 0, 4}, PlotRange -> {0, 4},Filling -> {1 -> {2}}] I want to change the filling style to vertical ...
8
votes
2answers
267 views

Plot between multiple curves

I have three functions, U1, U2, Dead. I would like to fill the area between the three ...
15
votes
3answers
327 views

Glitch in Filling?

Bug introduced in 8.0 and persisting through 10.4 or later I ran into a problem while plotting and I was able to narrow it to this. Before I start "spelunking" I'd like to know if I am overlooking ...
9
votes
1answer
111 views

Filling option generates extra PlotMarkers in ListLinePlot

Bug introduced in 8 or earlier and persists through 10.4 or later Whenever the blue line drops below the orange one MMA (10.0) inserts two additional plotmarkers: ...
0
votes
2answers
49 views

How do I fill the positive side of a graph? [duplicate]

I'm trying to plot $\sin(x)/x$ and fill the positive side. How do I achieve that? I know how to fill the entire axis. Here's what I have: ...
4
votes
0answers
102 views

Bug in ListLinePlot[] when Filling up and down?

I'm trying to understand this apparently incorrect Filling behavior in ListLinePlot[]. Evaluating this ...
5
votes
2answers
220 views

Filling between two B-spline curves

I am trying to fill the space between two curves (curve1 and curve2) I generated since long but unable to do so. Can some one help on this please. The following is the code snippet. ...
3
votes
1answer
60 views

How to fill a tensor with matrices one by one?

I have this tensor: nn = 4; tableToFill = Table[x, {p, 1, nn}, {q, 1, nn}, {i, 1, nn}, {j, 1, nn}]; that I want to fill with a matrix one by one with a matrix ...
1
vote
1answer
354 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
3answers
123 views

Filling between multivalued curve and normal curve

I have a multivalued curve p1 (left curve) and a normal curve xpr2 (right), and I want to fill the middle region between them as blue, and the rightmost region as red. However, I get this extra ...
9
votes
2answers
229 views

ListLinePlot Filling Wrong

Bug introduced in 8.0 or earlier and persisting through 10.3 or later. I used ListLinePlot to plot data from .csv files. However, the y-values from Graph 1 do ...
1
vote
1answer
97 views

How can I plot a sector of an ellipse using the central angle and not the Eccentric Anomaly?

It would appear that the Disk function, when asked to produce the sector of an ellipse between two angles treats those angles as Eccentric Anomalies (i.e. arguments ...
13
votes
1answer
381 views

Strange filling

Bug introduced in 9.0 and fixed in 10.0 I observed some strange behaviour when plotting a function with filling. The code is as follows: ...
3
votes
2answers
132 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? ...
26
votes
8answers
4k views

Shading between polar graphs

Since PolarPlot doesn't support Filling, what is the best way to shade or fill the a region between two polar curves? For ...
6
votes
1answer
178 views

Filling the gap between different range

There are three curves in this figure. I use the followed code to fill the gap: ...
0
votes
1answer
329 views

Plotting curves with different filling styles and gridlines? [duplicate]

Here's a plot of some lines with different styles of filling and one gridline displayed: ...
1
vote
1answer
87 views

ListLinePlot partial filling

I use ListLinePlot to plot data: ...
8
votes
1answer
92 views

Filling Stacked Graph v.10.1

I used a code very similar to the code posted by Kuba stacked line graph with fragmented data ...
2
votes
1answer
118 views

problem with the 'Filling' command

Hello colleagues!! I have an issue with the Filling parameter in a ListPlot. I constructed an equilateral triangle of length 1, where I plot some points in barycentric coordinates, describing a curve ...
13
votes
1answer
388 views

How to do color-fill in images in Mathematica?

Color fill, the ability to apply a desired color to an enclosed area, is one of the basic functions provided by most graphic applications. Is there a similar ...
4
votes
4answers
1k views

How to change color dynamically?

I am new to Mathematica and want to change the FillingStyle Dynamically in this Plot. I want ...
3
votes
1answer
287 views

Filling using colors rendered corresponding to the difference between two curves

Suppose there are two curves f1[x] and f2[x], and we want to fill the area between them using colors corresponding to the vaule ...
3
votes
4answers
546 views

ListPlot and filling between curves

I have a simple question. Why is Filling not working in the following? ...
1
vote
1answer
121 views

Correctly specifying Filling option for ListPointPlot3D

I'm fitting a linear model to some three dimensional data (x,y = explanatory variable, z = predicted variable). I am trying to visualize the data and model fit using a combination of 3D plots. ...
2
votes
2answers
218 views

Filling graph between lines and plots

I would like to create a filling delineated by the plots and lines as specified below: ...
0
votes
0answers
162 views

Filling Piecewise Function leaves gaps [duplicate]

When I use the fill feature to shade the area between the curve and the x-axis, there is no fill when x=2. I don't understand how this is possible since the function is defined there. Any help to fill ...
0
votes
1answer
148 views

Improve appearance of ListPointPlot3D with respect to Plot3D

I solve a PDE of which solution is physically a probability density $p$. Due to the algorithm the result is a $n\times m$-matrix which will be plotted by ...
2
votes
2answers
161 views

Filling between more than two boundaries

Here is a simple example of what I am trying to do; fill the area described by the three inequalities: $$ y \le 11 + x \label{1} \tag{1}$$ $$ y \le 27 - x \tag{2}$$ $$ y \le ...
1
vote
3answers
145 views

Filling between two lines

I'm trying to draw a seven-patch geometry, where some parts need to be filled. The domain itself is no problem, I have the corner points and just plot lines between them. Now I need that the space ...
0
votes
1answer
96 views

Huge eps file in Export with ListPlot and Filling

I'm trying to export and eps file from a plot which contains a ListPlot with Filling ...
12
votes
1answer
313 views

Filling to Axis as Arrow

In version 9 I could do the following with the output as shown. ...
0
votes
2answers
209 views
2
votes
1answer
105 views

Filling a Manipulate Plot

I am attempting to fill the part of the graph when the orange line is within the blue line. I am unable to make the fill work when the lines are under manipulation. Ultimately I would like there to be ...
5
votes
2answers
250 views

Filling an area with cushion effect

This code: (by @kguler, can be found here, as an answer to "How to shade a plotted region in specific direction?") ...
0
votes
0answers
27 views

Filling not working when function in SetDelay [duplicate]

I want to use Plot with a SetDelay. Then Filling does not work. In the following, the first works, the second does not. I would like to get the second to work: ...
7
votes
3answers
789 views

Shading regions in ParametricPlot

I am using ParametricPlot to get an X vs Y plot. I want to shade the area enclosed by the ...
5
votes
2answers
248 views

Filling the empty space in RevolutionPlot3D

I'm wanting to plot the solid of revolution from the area between two functions such as: $1\leq x \leq e$ and $1 \leq y \leq 2 + ln(x)$, doing something like this: ...
11
votes
2answers
1k views

How to vary color of fill between listplots based on y-distance between them

I have two lists with the same x-values but different y-values. I have used ListPlot to plot and fill the space (line) between them; however, I would like the color ...
10
votes
1answer
886 views

Filling only when one curve is below the other

I want to fill the area between two curves only when curve-1 (Black) is below curve-2(Blue). So In this example, I don't want the middle portion shaded but just the left and right tails to be shaded. ...
6
votes
4answers
534 views

How to shade the area bounded by more than 2 functions?

I am trying to shade the area bounded by the lines $y=2$, $y=-x+2$ and the parabola $y=x^2$. The plot is shown below. The area I'm talking about is the that bounded by the 4 black points. I am trying ...
13
votes
3answers
1k views

Generating hatched filling using Region functionality

Before v.10 came out there were several Q&A on generating hatched filling for Plot, ListPlot etc. In v.10 we have new ...
3
votes
2answers
241 views

Hatched filling for ListLinePlot

I have the following piece of code that uses ListLinePlot to plot 3 curves which I would like to each have a hatched filling of different colors. I've tried a couple of approaches I found on this ...
13
votes
5answers
9k views

Filling between boundaries

I would like to visualize what it graphically means to integrate between two boundary values. Therefor I'd like to make a Filling between these two values. Is there a way to get this done?
4
votes
4answers
2k views

How to plot filling under a curve?

I want to mark critical areas for statistical test on the plot. How can I do this? This: ...
9
votes
2answers
2k views

How can I fill under a function in a plot just to right of a specified vertical line? [duplicate]

How do I plot a normal curve with filling under the curve and to the right of a vertical line. I would prefer that the vertical line starts at the x-axis and stops at the plotted curve. Basically ...