Hot answers tagged

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

ListLinePlot Filling Wrong

I have distilled a minimal dataset reproducing the problem: ...
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

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

...
  • 135k
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

Filling between two B-spline curves

...
  • 22.3k
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

How to fill a region with lines

...
11 votes
Accepted

Changing color of overlapping plots

MeshFunctions are useful here. ...
  • 10.8k
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 ...
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

Filling the gap between different range

...
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

Plot between multiple curves

...
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

How to fill a region with lines

you could use GridLines also ...
9 votes

How to Fill Between two Curves

A careful reading of the Filling option for Plot will let you fill selectively: ...
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: ...
8 votes

Horizontal line filling with ListPlot

One can add a horizontal Filling using Epilog. ...
  • 27.3k
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

Filling the region under a line

...
  • 354k
8 votes
Accepted

Filling between two arrays with ListPointPlot3D

Filling -> {2 -> {1, Directive[{Opacity[0.4], Red}]}}
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