Questions tagged [filling]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
32 views

Filling a region in a plot changes color in legend [on hold]

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
103 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
125 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
92 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
63 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
96 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
54 views

How to shade a region using Filling function

I have two following functions: ...
3
votes
2answers
100 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
114 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
339 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
89 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
136 views

Fill within curves

...
1
vote
2answers
106 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
86 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
59 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
86 views

Different style of filling in x direction

I have the following curves: ...
3
votes
3answers
130 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
220 views

Filling in parametric plot

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

Filling in Show[]

Is it possible to fill the region between two ListPlots' in Show[]. Something like: ...
7
votes
3answers
377 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
327 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
226 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
429 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
425 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
70 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
291 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
156 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
128 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
127 views

How to plot equally distance points inside 2D region?

I have these two codes: (1) ...
3
votes
2answers
174 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
57 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
206 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
94 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
613 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
223 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
387 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
424 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
763 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
505 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
185 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
281 views

Combining a 3D plot and a RegionPlot

Let's say I have a cuboid like ...
5
votes
2answers
230 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 ...
9
votes
3answers
683 views

Horizontal line filling with ListPlot

I have a problem with presenting a plot. I have the following data: data := {74.69, 45.47, 42.45, 54.54, 36.04, 31.76, 33.95} and plot it simply as ...
21
votes
4answers
1k views

Shading under a curve with dots

I plotted the function $y=x^2$ using the Plot command Plot[x^2, {x,-5,5}] I need to shade the area under the curve using a ...
1
vote
0answers
51 views

Filling between two plots up to some boundaries only [duplicate]

Suppose I have plotted two functions $f(x)$ and $g(x)$ on the same plot. I would like to shade the area between the two curves only when $f(x) \geq g(x)$, but I cannot get the Filling command to do ...