Questions tagged [filling]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
289 views

Combining a 3D plot and a RegionPlot

Let's say I have a cuboid like ...
5
votes
2answers
248 views

Filling under plot

Let say I have this ParametricPlot3D[{Sin[u], Cos[u], u/10}, {u, 0, 20}, Mesh -> {{1}}] Since Filling is not supported ...
9
votes
3answers
716 views

Horizontal line filling with ListPlot

I have a problem with presenting a plot. I have the following data: data := {74.69, 45.47, 42.45, 54.54, 36.04, 31.76, 33.95} and plot it simply as ...
21
votes
4answers
1k views

Shading under a curve with dots

I plotted the function $y=x^2$ using the Plot command Plot[x^2, {x,-5,5}] I need to shade the area under the curve using a ...
1
vote
0answers
53 views

Filling between two plots up to some boundaries only [duplicate]

Suppose I have plotted two functions $f(x)$ and $g(x)$ on the same plot. I would like to shade the area between the two curves only when $f(x) \geq g(x)$, but I cannot get the Filling command to do ...
6
votes
2answers
329 views

How to fill outside instead of inside graphical shapes?

I want to omit parts of Graphics from scenes by defining a geometric shape where details are visible, a "keyhole" of sorts, and fill all the rest as one would do to ...
0
votes
3answers
254 views

ListPlot and Filling: overlapped vertical lines [closed]

I was plotting multiple discrete series on the same figure. Filling is needed to highlight trajectory of the series. However, if I use Filling->All, filling lines are overlapped. One of the solution ...
2
votes
1answer
297 views

How to fill the heart curve with solid red color? [duplicate]

The parametric equation of the heart curve is from this link $$\left\{\quad \begin{array}{rcl} x&=&\cos {t} \cdot\sin {t} \cdot\ln \left| t\right| \\[10pt] y&=&\left| t\right| ^{0....
4
votes
1answer
140 views

Plot option Filling conflicts with option PlotLabels

Bug introduced in 10.4.0, and fixed in 11.0.0 PlotLabels is new in 10.4.0. The regulars here discuss approaches to numerically unstable systems of higher-order ...
4
votes
3answers
676 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
2k 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 ...
11
votes
2answers
494 views

Plot between multiple curves

I have three functions, U1, U2, Dead. I would like to fill the area between the three ...
1
vote
2answers
277 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: ...
5
votes
2answers
402 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
210 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
74 views

Need help with “Filling” in a plot, generated with a table. (Wavefunctions)

I'm trying to get a result like this: ...
4
votes
3answers
220 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
1answer
189 views

Filling option generates extra PlotMarkers in ListLinePlot

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

Bug in ListLinePlot[] when Filling up and down?

Bug introduced in 9.0 or earlier and persisting through 11.0.1 or later I'm trying to understand this apparently incorrect Filling behavior in ...
1
vote
1answer
220 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
2answers
594 views

ListLinePlot Filling Wrong

Bug introduced in 8 or earlier and persisting through 12.0 I used ListLinePlot to plot data from .csv files. However, the y-values from Graph 1 do not match to the ...
3
votes
2answers
330 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? ...
6
votes
1answer
273 views

Filling the gap between different range

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

ListLinePlot partial filling

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

Filling Stacked Graph v.10.1 [duplicate]

I used a code very similar to the code posted by Kuba stacked line graph with fragmented data ...
5
votes
3answers
2k views

ListPlot and filling between curves

I have a simple question. Why is Filling not working in the following? ...
2
votes
1answer
435 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, ...
1
vote
1answer
365 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
518 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
1answer
368 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 ...
0
votes
1answer
1k 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: ...
2
votes
2answers
852 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 ...
3
votes
4answers
804 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
200 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
566 views

Filling to Axis as Arrow

In version 9 I could do the following with the output as shown. ...
0
votes
2answers
457 views

How to create a custom filling with ListPlot

We have the following simple example ...
2
votes
1answer
227 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 ...
0
votes
0answers
29 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: ...
5
votes
2answers
302 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?") ...
2
votes
2answers
286 views

How to use ParametricPlot and fill closed areas with blue and red?

The current code is : ...
15
votes
3answers
460 views

Glitch in Filling?

Bug introduced in 8.0 and persisting through 12.0 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 ...
0
votes
3answers
592 views

Simple pattern/texture for shading chart elements [duplicate]

If I print the following BarChart in black and white, then it is very difficult to tell which bar is "a" and which is "b". ...
6
votes
4answers
1k 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 ...
3
votes
2answers
589 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 ...
21
votes
3answers
3k 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 ...
4
votes
2answers
894 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 ...
2
votes
3answers
941 views

Can you Plot over some range but apply the “Filling” option over a smaller range? [duplicate]

I would like to shade the area between a function, and a line, but only over a specific range. This range is smaller than the range of the entire plot. The example code and plot below make my goal ...
4
votes
2answers
283 views

Fill curve betwen specified abscissa points [duplicate]

I am plotting the Maxwell-Boltzman distribution of molecular speeds. I want to be able to select a region to integrate using a manipulate function. Then I want to have that same region filled in on ...
12
votes
4answers
1k views

Using an Image as the Fill/Texture (not background) of a Plot (not polygon)

Is it possible to use an image, rather than a color, or ColorFunction, as the filling for a plot? For instance, I want to make a plot using ...
1
vote
0answers
139 views

Fill histogram with pattern [duplicate]

Is there a way to fill a histogram with a pattern such as hatched lines? I'm imagining something along the lines of ...