8
votes
Accepted
How to fill horizontally between two lines in ListPlot?
$Version
(* "13.1.0 for Mac OS X x86 (64-bit) (June 16, 2022)" *)
Clear["Global`*"]
Split each of the lines into two segments and cycle the <...
- 139k
8
votes
Accepted
Rectangle fillings obscures the plot
Epilog is something that will bring the argument at the front of the LogPlot layer.
If you put your rectangles in the ...
- 842
6
votes
Accepted
6
votes
How to fill horizontally between two lines in ListPlot?
construct two lines to make a closed curve and then use BoundaryDiscretizeGraphics to get a region.
...
- 52k
6
votes
Accepted
Filling and ScalingFunctions Reverse
It seems be a bug. Right now we manual add Reverse at the data.
...
- 52k
6
votes
6
votes
6
votes
6
votes
Accepted
Again with filling in a plot
Clear["Global`*"]
You haven't said clearly what you want filled. Perhaps one of these.
...
- 139k
6
votes
How can I properly plot this region, with some filling too?
Combine ImplicitRegion, Plot and Rectangle by using Show....
- 11.6k
6
votes
Accepted
How can I properly plot this region, with some filling too?
Plot[{2 - x, 1, Min[2 - x, 1]}, {x, 0, 2}, Filling -> {3 -> 0},
Exclusions -> None,
Epilog -> {Orange, Line[{{2, 0}, {2, 1}}], Thickness[0.04]}]
- 52k
6
votes
5
votes
Accepted
Filling a region between two straight lines
Use BoundaryStyle -> None as shown in the documentation of RegionPlot:
...
- 41.1k
5
votes
Why does FillingTransform not fill the enclosed areas on the edges in image
It can take some experimentation to find which of the many image transforms to use. In this case, you could try WatershedComponents.
For an example with smaller images, I start with a portion of your ...
- 1,535
5
votes
How to fill a specific region in a plot?
Clear["Global`*"]
f1[x_] = -1 (2 x - 3) (x + 1);
f2[x_] = Log[(3 x + 6)/10];
plt = Plot[{f1[x], f2[x]}, {x, -3, 4},
PlotRange -> {-5, 5}];
The ...
- 139k
5
votes
Rectangle fillings obscures the plot
If I understand the problem correctly you want something like this:
So, essentially you want to use Overlay.
The code:
...
- 11.8k
5
votes
Accepted
How to make filling (semi) transparent?
Colors interact with each other. A HatchFilling would provide more visual differentiation.
...
- 28.5k
5
votes
Accepted
Using Filling went wrong
Even though you return a list in your f[x], Mathematica sees this as a single curve. You should explicitly provide two separate curves:
...
- 11.6k
5
votes
Accepted
Is there a better way to control "Filling"?
Change the PlotStyle for If[0.25 <= x <= 0.75, 0] in each of the plots.
...
- 139k
4
votes
Filling between a curve and a Line
Your Line has a constant $y$ value... so I picked a bit more adventurous example:
...
- 18.3k
4
votes
Accepted
How to fill a plot region with tilted lines without using HatchFilling?
With HatchFilling[]
...
- 28.5k
4
votes
Colouring in a FilledCurve, self-intersections and all
Now we can use WindingPolygon since v12.
...
- 52k
4
votes
4
votes
4
votes
Accepted
4
votes
4
votes
3
votes
Change the Filling order
plt = Plot[...]
plt /. {a__, x : {__, GraphicsGroup[{__Polygon}]}, b__,
y : {__, GraphicsGroup[{__Polygon}]}, c__} :> {a, y, b, x, c}
- 14.6k
3
votes
Accepted
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
filling × 216plotting × 169
graphics × 35
color × 20
bugs × 11
regions × 8
parametric-functions × 8
manipulate × 5
graphics3d × 5
legending × 5
histograms × 4
export × 3
image-processing × 3
textures × 3
list-manipulation × 2
functions × 2
dynamic × 2
interpolation × 2
physics × 2
geometry × 2
image × 2
labeling × 2
visualization × 2
code-request × 2
style × 2