Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [filling]

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

Filter by
Sorted by
Tagged with
8
votes
3answers
567 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
43 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
65 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
42 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
112 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
129 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
95 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
68 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
115 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
56 views

How to shade a region using Filling function

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

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

I have the following code that produces a plot of a Normal distribution: ...
4
votes
1answer
117 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
419 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
99 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
137 views

Fill within curves

...
1
vote
2answers
114 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
90 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
64 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
88 views

Different style of filling in x direction

I have the following curves: ...
3
votes
3answers
134 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
72 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
233 views

Filling in parametric plot

Writing: ParametricPlot[{{x, 0}, {x, 1}}, {x, 0, 1}, Axes -> False] I get: while writing: ...
3
votes
2answers
333 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 ...
4
votes
2answers
518 views

Filling in Show[]

Is it possible to fill the region between two ListPlots' in Show[]. Something like: ...
7
votes
3answers
409 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
359 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
231 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. ...
0
votes
3answers
457 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 ...
6
votes
4answers
440 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 ...
1
vote
0answers
85 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 ...
4
votes
2answers
299 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: ...
2
votes
1answer
104 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. ...
1
vote
1answer
168 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: ...
3
votes
2answers
132 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 ...
1
vote
2answers
129 views

How to plot equally distance points inside 2D region?

I have these two codes: (1) ...
3
votes
2answers
176 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, ...
1
vote
1answer
58 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 ...
3
votes
3answers
214 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, ...
1
vote
1answer
77 views

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

Suppose I have a data list ...
0
votes
1answer
100 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 ...
9
votes
3answers
641 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 ...
4
votes
2answers
225 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?
3
votes
1answer
432 views

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

I use this code to plot a parametric plot. ...
4
votes
2answers
455 views

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

This is an example from ListPlot in the Mathematica documentation. ...
3
votes
2answers
796 views

How do I add a line legend to a list plot?

I want to label a ListPlot using LineLegend with the line colours corresponding to the filling. For example if I use this ...
4
votes
2answers
531 views

Filling a 2D plot with a texture

I am having trouble filling the bottom of the following plot: Plot[Piecewise[{{Exp[-1/(1 - x^2)], Abs[x] < 1}, {0, Abs[x] >= 1}}], {x, -2, 2}] with the ...
9
votes
4answers
2k views

How to Fill Between two Curves

I want to fill between the curves on the domain {0,1}. I only want it on that domain, does anyone know how to do that with the given curves? Sorry for a probably simple question, I'm a beginner to ...
2
votes
1answer
188 views

Region bounded by the curve [duplicate]

How to colour the region "under" the curve? Given that $0<x<3$, $-4<y<4$, $0<z<4$ ParametricPlot3D[{3/2, y, Abs[y]/(3/2)^(1/4)}, {y, -4, 4}]
1
vote
2answers
285 views

Combining a 3D plot and a RegionPlot

Let's say I have a cuboid like ...
5
votes
2answers
233 views

Filling under plot

Let say I have this ParametricPlot3D[{Sin[u], Cos[u], u/10}, {u, 0, 20}, Mesh -> {{1}}] Since Filling is not supported ...