Questions tagged [filling]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
68 views
2
votes
1answer
44 views

Implementation of filling (Colour) [closed]

I have a question. When I use "Filling" Plot[Evaluate[{x^2, x}], {x, 1, 2}, PlotRange -> All, Filling -> {1 -> {2}}] One of the functions ...
9
votes
1answer
128 views

Peculiar behaviour in the implementation of “Filling”

I was working with mathematica and I need to use "Filling", however I notice that it doesn't work when you have "small" numbers, for example if I make the following: ...
2
votes
1answer
49 views

Issue with Option Filling -> Axis

In mathematica 12.0, the following code ...
1
vote
1answer
37 views

Filling complex areas of a ListPlot

I have a ListPlot with vertical and horizontal lines. I would like to color the resulting rectangles by something like "Fill with Green if less than both line 1 & line 3". However, I can't figure ...
3
votes
2answers
135 views

How do I fill last 'side' of this parametric plot?

I have three curves defined by ...
6
votes
2answers
130 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 ...
2
votes
2answers
104 views

Correct filling for confidence interval

I have the following list: ...
5
votes
2answers
74 views

Fill between 3D curves in `ParametricPlot3D`

I have a pair of 3D parametric curves: ...
0
votes
1answer
38 views

Filling between two lines on plot [closed]

Consider the plot Plot[{x,x^2},{x,1,2}] How to add a filling option such that the filling will be above x but below x^2?
1
vote
1answer
41 views

Filling between more than two boundaries broken?

I want to fill between several curves. The documentation suggests Filling->{1->{{3},{None, Automatic}}, 2->{{3},{None, Automatic}}} should do the trick....
2
votes
1answer
71 views

Problem with Filling Style

I got two functions and want to plot them using different plotstyle so they can be shown distinctively after printing with black ink. I also need to fill the region between them and label the two ...
3
votes
0answers
45 views

How to fit the image in the filling region?

Consider the following fillings: ...
2
votes
3answers
58 views

Filling in plot with multiple curves

How can I fill the area between the curves? I cant seem to fill all three of them...
6
votes
2answers
95 views

HatchFilling exports as non-vector graphics

As of version 12.1, there is an interesting new function to perform object pattern filling: HatchFilling It works great, but it seems that any graphics containing ...
2
votes
2answers
31 views

How to shade bounded region of a plot

I have the following function f[z_] := Piecewise[{{Cos[z] - 17 Sin[z]/z, z > 0}, {Cosh[z] - 17 Sinh[z]/z, z <= 0}}] I am interested in the regions where $\...
2
votes
1answer
46 views

How can I fill figure between y = x^3, x= -1, x=1 and y = 0? [closed]

I am trying filling between of lines: $ y = x^3$, $y=0$, $x=-1$, and $x=1$. I tried. ...
0
votes
1answer
56 views

Problem With Filling

I am plotting the graph of the logistic equation in a manipulate. My borders range from {x, 0, 100}, {y, 0, 100}. I would like to fill the background of the plot with a light grey color, almost ...
3
votes
1answer
48 views

Problem with Filling and FrameTicks

I have an issue with FrameTicks when combined with a plot using Filling. I've plotted two curves (in one Plot[]) with two different colors and I'm trying to use the left and right columns of the frame ...
4
votes
1answer
102 views

Filling in curves in a parametric plot

I am trying to fill in the area between curves in a parametric plot. I have: ...
6
votes
2answers
134 views

Parametric plot showing an unwanted boundary at the maximum parameter value

I'm trying to fill a parametric plot, but I get this ugly seam for some values of $a$. Observe the following code: ...
8
votes
2answers
300 views

Special case of filling between curves

I have two curves plotted on the same plot. To the left of a given domain value, I want to fill between curve 1 and the x-axis; to right of that value, I want to fill between the two curves.
11
votes
1answer
353 views

How to fill a closed parametric curve?

I have a curve in parametric form: ...
11
votes
3answers
620 views

What's the most efficient way to draw this region?

Viral question on YouTube. But let me start by saying the guy got it wrong. We don't do such things at the age of 11, we do this question about Year 11 (aged 14/15, 16 for some). I want to draw the ...
2
votes
2answers
46 views

Add filling between a line and axis, but only in the negative region

For plots like the one shown below, what is the syntax for adding filling between particular lines and the axis, but only in the negative region:
3
votes
3answers
90 views

DateListPlot shaded area between Gridlines

I have been trying to figure out how to shade between Gridlines and I couldn't on my own, but found this post that almost has the perfect response except that the spaces between the frame and the ...
1
vote
1answer
48 views

Filling a region in a plot changes color in legend [closed]

I'd like to mark a region in my plot and after some research in the internet I found the solution I was looking for using the Filling option. ...
3
votes
3answers
124 views

Plotting step functions with filling option

Try plotting several step functions and filling the space between the first function and the axis. Unwanted vertical lines appear. Making things worse, these vertical lines are colored in the color of ...
6
votes
2answers
154 views

Filling between two arrays with ListPointPlot3D

I would like to Plot two Arrays and use the function Filling to generate a soil layer: ...
5
votes
1answer
110 views

Filling only parts of a ListLinePlot

I have a set of {x,y} data that shows a measurement value over time on the x axis. I'd like to highlight several chunks of time on my ListLinePlot by filling the plot to the axis for only certain x-...
6
votes
1answer
116 views

Dynamic filling of a region of a polar plot

I would like to shade area of region as a function of angle using PolarPlot. Here is my attempt. ...
0
votes
1answer
179 views

Highlighting a region containing a scatter plot [closed]

I have obtained the plot shown below using ListLogLogPlot[Table[{Abs[a1[[i]]], Abs[a2[[i]]]}, {i, 400}] I want to fill the whole region containing the scattered ...
2
votes
2answers
70 views

How to shade a region using Filling function

I have two following functions: ...
3
votes
2answers
133 views

Fill to the left of the y-axis only [duplicate]

I have the following code that produces a plot of a Normal distribution: ...
5
votes
1answer
154 views

Hatch Fill in ListDensityPlot

I would like to make the black colour hatched/striped instead of a solid fill, so that when I overlay it on top of another plot, I can still see the colours underneath. I know how to change the ...
0
votes
1answer
675 views

Contour Plot with logarithmic scale [duplicate]

I am trying to plot an equation using contour plot with x-axis in logarithmic scale. ...
3
votes
1answer
177 views

How do i fill in the area between three graphs

so this is my code and this is my output My quetion is why does the fill stop at sqrt(3)/2 and does not fill in the rest of the area. I am trying to make it so that the area between the three graphs ...
6
votes
3answers
142 views

Fill within curves

...
1
vote
2answers
162 views

How to calculate the area under value x=[2, 4] for SmoothHistogram (PDF)

I have a discrete signal. How can I calculate the area under the curve for $2\le x \le 4$? How can I fill the same area in the plot generated by SmoothHistogram? ...
1
vote
1answer
110 views

Fill area below two curves in limited area

I need to fill a region in my plot (The white area in the bottom between the two graphs going to the x axis. I cannot figure out a way to do this, please help. ...
2
votes
1answer
77 views

Different lower bound filling option

I recall my previous post Different style of filling in x direction. In particular, in the following code I have a new question: ...
3
votes
1answer
102 views

Different style of filling in x direction

I have the following curves: ...
3
votes
3answers
145 views

Shading on ListCurvePathPlot

I have a series of data points describing the boundary of some region. Using ListCurvePathPlot, I have an easy way to get a nice curve interpolating this boundary (...
4
votes
0answers
86 views

Filling between points in ListPlot only works with points in certain order

I am working on more flexible version of ErrorListPlot from the ErrorBarPlotspackage. The basic idea is that I ...
2
votes
1answer
318 views

Filling in parametric plot

Writing: ParametricPlot[{{x, 0}, {x, 1}}, {x, 0, 1}, Axes -> False] I get: while writing: ...
3
votes
2answers
355 views

Filling the region under a line

I have the following straight line: y[x_] = 4 x - 1; Plot[y[x], {x, 0, 1}, PlotRange -> {{0, 1}, {0, 2}}] I want to highlight the two regions separated by the ...
5
votes
2answers
672 views

Filling in Show[]

Is it possible to fill the region between two ListPlots' in Show[]. Something like: ...
8
votes
3answers
585 views

Shade a ListLinePlot of many series with their deviations

Consider a single list of data avg = {.5, .6, .5,...} with corresponding standard deviations dev = {.1, .2, .2, ...}. I use ...
3
votes
1answer
503 views

Filling without boundaries

How to fill the area between two curves, but without plotting those curves? For example, Plot[Sin[x], {x, 0, 2 Pi}, Filling -> {1 -> 0.5}] gives a plot ...
3
votes
2answers
257 views

Coloring and filling a list plot

I'm trying to make it so that the color of the dot at the top is the color of the vertical line that goes down to the axis. ...