# Questions tagged [filling]

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

138 questions
Filter by
Sorted by
Tagged with
80 views

### Filling in curves in a parametric plot

I am trying to fill in the area between curves in a parametric plot. I have: ...
128 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: ...
284 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.
337 views

### How to fill a closed parametric curve?

I have a curve in parametric form: ...
611 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 ...
44 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:
72 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 ...
45 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. ...
116 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 ...
137 views

### Filling between two arrays with ListPointPlot3D

I would like to Plot two Arrays and use the function Filling to generate a soil layer: ...
100 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-...
87 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. ...
143 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 ...
59 views

### How to shade a region using Filling function

I have two following functions: ...
109 views

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

I have the following code that produces a plot of a Normal distribution: ...
128 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 ...
520 views

### Contour Plot with logarithmic scale [duplicate]

I am trying to plot an equation using contour plot with x-axis in logarithmic scale. ...
111 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 ...
140 views

...
124 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? ...
97 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. ...
69 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: ...
92 views

### Different style of filling in x direction

I have the following curves: ...
138 views

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 (...
77 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 ...
273 views

### Filling in parametric plot

Writing: ParametricPlot[{{x, 0}, {x, 1}}, {x, 0, 1}, Axes -> False] I get: while writing: ...
337 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 ...
564 views

### Filling in Show[]

Is it possible to fill the region between two ListPlots' in Show[]. Something like: ...
480 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 ...
406 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 ...
244 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. ...
510 views

### How do I draw a circle and shade an area?

This is the problem. A circular corral of unit radius is enclosed by a fence. A goat inside the corral is tied to the fence with a rope of length $0 \le a \le 2$ (see figure). What is the area of ...
465 views

### How can I fill the region where two polar plots intersect?

I'd like to reporduce this image (with shading). Color doesn't really matter. Here's what I have so far ...
104 views

### Filling curves with dashed lines in both directions [duplicate]

is there a way to fill the area under the curves with dashed lines (left to right for one curve and right to left for the other) with a transparent filling between lines? I cannot even get dashing ...
318 views

### Stop ListContourPlot from interpolating beyond the data points

I am using listcontourplot to show my 3D data points but It is interpolating between faraway points and it is changing the outline of the shape. this is what I want to see: and this is what I have: ...
108 views

### Problem with line filling in a list plot

In the following plot, why is there some non connected dots, why the colors are'nt true. ...
182 views

### Shading a horizontal region in (LogLog)Plot

I would like to shade a horizontal region in LogLogPlot as in the figure below. The figure on the left is done with LogLogPlot: ...
136 views

### Colouring in a FilledCurve, self-intersections and all

I have a (vaguely) complex curve with some self-intersections, and I would like to add a filling to the interior. However, the recommended method (of turning Lines ...
131 views

### How to plot equally distance points inside 2D region?

I have these two codes: (1) ...
187 views

### Filling in a RevolutionPlot3D?

I am trying to create a graphic to demonstrate the rotation of the line $y=ax$ about the x-axis to produce a filled solid of revolution (a cone in this case). I'm using the RevolutionPlot3D function, ...
60 views

### Colouring Regions of a Plot defined by more than equation

How can I colour the two regions inside the triangle upper and down the parabola plotted together but with different intervals of the variables? The input text I wrote in Mathematica is ...
232 views

### Filling a ListPlot with an optical spectrum

I have discrete optical spectra data consisting of pairs of wavelengths and intensities, and I would like to make a ListPlot in which the points are both joined, ...
81 views

### Filling in ListLinePlot with self intersection problem and turn-round track/multi-valued line

Suppose I have a data list ...
101 views

### Precise Color Filling with borders in a map

I would like to have a "SimplifiedArea" borders and color filling for each country exactly following the border line, but I get this rough profile ...
678 views

### How to make an exclusion plot in Mathematica, e.g. draw a filled area on one side of the contour line

I want to make an exclusion plot with Mathematica using ContourPlot. So I have a two dimensional function, everything higher then a certain value is excluded. In ...
227 views

### Plot a the equation of a line with shading below

Is it possible to obtain something similar to what I show below with Mathematica?
465 views

### Is it possible to color in parts of a parametric plot [duplicate]

I use this code to plot a parametric plot. ...
507 views

### How can I limit the filling range in a list plot? [duplicate]

This is an example from ListPlot in the Mathematica documentation. ...