27
votes
Shading under a curve with dots
This is a simple little hack that will replace the polygons created by your Filling command with a set of random points. By default I'm scaling the number of ...
- 65.5k
19
votes
Accepted
How to fill a closed parametric curve?
You can post-process ParametricPlot output to change Line to FilledCurve:
...
- 354k
17
votes
Accepted
13
votes
Accepted
How to make an exclusion plot in Mathematica, e.g. draw a filled area on one side of the contour line
Update 2: In version 12.1 you can use the directives PatternFilling or HatchFilling for ...
- 354k
13
votes
Accepted
Texture or shading to avoid requiring color printing
It can be done in several ways, but, I am afraid, none of them with ease similar to setting the colors with an RGBColor command:)
1. Using Show and ...
- 354k
13
votes
Accepted
13
votes
Accepted
Filling between several parametric plots
We can mapping the rectangle -1<=s<=2.2, -1<=t<=2.2 to such region.
...
- 49.6k
12
votes
Accepted
12
votes
Special case of filling between curves
Here's an adaptation of m_goldberg's answer that uses a single plot for his example:
...
- 126k
11
votes
11
votes
Accepted
11
votes
Shading under a curve with dots
Try the following. This function makes the dots:
lst[m_, stepx_, stepy_] :=
Flatten[Table[Table[{x, y}, {y, 0, x^2, stepy}], {x, -m, m, stepx}],
1];
Here ...
- 36.5k
11
votes
Accepted
How to Fill Between two Curves
f[x_] = x^2;
g[x_] = x;
For 2D graphics you can use the syntax Filling -> {ij -> {{ik}, {gk-, gk+}}} to fill from object ...
- 14.3k
11
votes
Accepted
Plot a the equation of a line with shading below
I would use the RegionPlot and add some additional condition on the region you want to show. For example:
...
- 774
10
votes
Accepted
Filling to Axis as Arrow
It seems this form still works:
ListPlot[
Table[{x, x^2}, {x, 0, 1, 0.1}],
PlotRange -> All,
Filling -> {1 -> {Axis, Arrow[#] &}}
]
Caveat
...
- 266k
10
votes
Accepted
10
votes
Accepted
Filling option generates extra PlotMarkers in ListLinePlot
In versions from 8 to 10.3 the option Mesh->Full gets rid of the unwanted markers:
...
- 354k
10
votes
10
votes
Accepted
Horizontal line filling with ListPlot
I don't see any option in Filling that would allow this, and the ideas here tend to be for curves rather than points.
One simple workaround is
...
- 65.5k
10
votes
What's the most efficient way to draw this region?
One simple way to visualize complicated regions in mathematica
...
- 878
9
votes
Accepted
Strange filling
This bug has been fixed as of version 10.0. The current result is
(used Mathematica 10.2 on OS X, but other platforms also seem fine)
- 25.3k
9
votes
9
votes
How to Fill Between two Curves
A careful reading of the Filling option for Plot will let you fill selectively:
...
- 3,517
9
votes
Accepted
Filling in curves in a parametric plot
Update: You can use a single ParametricPlot with the options MeshFunctions and Mesh to get ...
- 354k
8
votes
Accepted
Hatched Filling for ListPlot
Since Mathematica 12.1 it is possible to do this with HatchFilling:
...
- 65.1k
8
votes
8
votes
Accepted
Filling in Show[]
If you must do this after the lists have been plotted, you can simply grab the lists from the plot,
...
- 65.5k
8
votes
8
votes
Accepted
Filling between two arrays with ListPointPlot3D
Filling -> {2 -> {1, Directive[{Opacity[0.4], Red}]}}
- 37.8k
8
votes
Special case of filling between curves
Here is one way to do what you are asking for.
Functions and given point
c2[x_] := x^(1/2)
c1[x_] := x^3
x0 = .7;
Now we make three plots ...
...
- 107k
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
filling × 210plotting × 164
graphics × 33
color × 20
bugs × 11
parametric-functions × 8
manipulate × 5
graphics3d × 5
regions × 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