The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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 ...
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 ...
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:
13
votes
2answers
566 views

ListLinePlot Filling Wrong

Bug introduced in 8 or earlier and persisting through 12.0 I used ListLinePlot to plot data from .csv files. However, the y-values from Graph 1 do not match to the ...
15
votes
3answers
457 views

Glitch in Filling?

Bug introduced in 8.0 and persisting through 12.0 or later I ran into a problem while plotting and I was able to narrow it to this. Before I start "spelunking" I'd like to know if I am overlooking ...
1
vote
1answer
41 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 ...
3
votes
4answers
774 views

Filling between two lines

I'm trying to draw a seven-patch geometry, where some parts need to be filled. The domain itself is no problem, I have the corner points and just plot lines between them. Now I need that the space ...
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
114 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 ...
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
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
417 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 ...
3
votes
3answers
132 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 (...
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? ...
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 ...
25
votes
6answers
17k views

Filling between boundaries

I would like to visualize what it graphically means to integrate between two boundary values. Therefore I'd like to make a Filling between these two values. Is ...
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. ...
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 ...
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: ...
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 ...
3
votes
1answer
88 views

Different style of filling in x direction

I have the following curves: ...
2
votes
1answer
232 views

Filling in parametric plot

Writing: ParametricPlot[{{x, 0}, {x, 1}}, {x, 0, 1}, Axes -> False] I get: while writing: ...
2
votes
2answers
813 views

Filling between more than two boundaries

Here is a simple example of what I am trying to do; fill the area described by the three inequalities: $$ y \le 11 + x \label{1} \tag{1}$$ $$ y \le 27 - x \tag{2}$$ $$ y \le ...
4
votes
2answers
516 views

Filling in Show[]

Is it possible to fill the region between two ListPlots' in Show[]. Something like: ...
7
votes
3answers
408 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 ...
4
votes
2answers
875 views

Filling between ParametricPlot and Plot

There are some similar questions: (1) (2) have been ask, but I think this is a different one. If we have a ParametricPlot and a ...
5
votes
2answers
575 views

Making a rectangular label for RegionPlot

I have a plot that includes a RegionPlot. I want to make a rectangle with the same shading as in the region plot to show as a legend. The dumb way I can think off ...
47
votes
5answers
7k views

Filling a polygon with a pattern of insets

I am trying to fill a shape with diagonal lines. I am aware of Texture, but it rasterizes the fill pattern, which is not desirable. Here was my crack at it: ...
2
votes
1answer
420 views

problem with the 'Filling' command

Hello colleagues!! I have an issue with the Filling parameter in a ListPlot. I constructed an equilateral triangle of length 1, ...
3
votes
1answer
358 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
456 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 ...
1
vote
2answers
285 views

Combining a 3D plot and a RegionPlot

Let's say I have a cuboid like ...
6
votes
4answers
439 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 ...
29
votes
10answers
6k views

Shading between polar graphs

Since PolarPlot doesn't support Filling, what is the best way to shade or fill the a region between two polar curves? For ...
21
votes
5answers
3k views

How do I plot a histogram with hatched shading?

I can plot an ordinary histogram with blue shading and black borders like this: T = RandomVariate[NormalDistribution[0, 1], 10000]; Histogram[T, 30] And I can ...
1
vote
0answers
84 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. ...
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}]
21
votes
3answers
3k views

Generating hatched filling using Region functionality

Before v.10 came out there were several Q&A on generating hatched filling for Plot, ListPlot etc. In v.10 we have new ...
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: ...
1
vote
2answers
129 views

How to plot equally distance points inside 2D region?

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