Questions tagged [filling]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
52 views

Problem with filling area of parametric equation

Hello, I have following code, which represents parametric equation. It should draw a border (d1, red color) and area of the curve d2 (fill that curve, blue color) for "o > 0, w > 0", ...
user avatar
2 votes
1 answer
97 views

Fill the region above two curves

I have need to fill the region above two curves as shown below. How can I fill only the darker region without filling the two intersections as well? ...
user avatar
  • 1,252
2 votes
0 answers
34 views

Filling with White Color

I am trying to fill multiple curves with different colors. For the purpose I have, I need to exclude some regions from shading. After searching, I realized that I can fill those regions with "...
user avatar
  • 99
7 votes
3 answers
242 views

How to visualise the area between polar curves using filling option?

PolarPlot[{theta, Exp[theta]}, {theta, 1, 1.2}, Frame -> True, PlotLegends -> "Expressions" ] Looked into the ...
user avatar
  • 1,252
4 votes
2 answers
115 views

How can I fill the region from the minimum value of all curves to the x axis

How can I fill the region from the minimum value of all curves to the x axis like this? ...
user avatar
  • 1,750
10 votes
2 answers
281 views

Filling between several parametric plots

I have several (four) parametric curves defining a closed loop in the plane, and I wish to fill it with some color. Now, I have seen several nice answers for the case of two curves, where the simplest ...
user avatar
0 votes
1 answer
42 views

How to combine Filling with Manipulate in the given code to illustrate the total area that the lines cover?

I have three functions $f(x,y)\,,g(x,y,z)\,,h(x,y,z)\,$ ...
user avatar
  • 463
1 vote
2 answers
157 views

How to use lines as textures in a plot

I would like to replicate this plot: From A parametric model for dark energy. But how can I add the lines and the grids to the various sections?
user avatar
  • 2,521
3 votes
5 answers
278 views

How to fill the region above and below a curve with different colors/patterns?

In the curve obtained with following Plot[{1/(3 x*Sqrt[1 - x^2])}, {x, 0, 1}, PlotRange -> {0, 1}, GridLines -> {{0.35, 0.94}, {}}] how can one fill the ...
user avatar
  • 295
2 votes
1 answer
84 views

How to apply color function to my financial indicator?

My goal is to make a figure like this picture in a financial indicator, I want to plot “a colored” financial indicator below a trading chart. I prepared financial data and data of my indicator: ...
user avatar
5 votes
2 answers
90 views

Exporting Plot with Filling creates unwanted Outline around Filling

Bug introduced in 12 or earlier and persisting through 13.0.0 [CASE:4899765] The following code generates a plot that has a faint outline around the top, left, and right boundaries of the filling. ...
user avatar
  • 580
1 vote
1 answer
53 views

Filling a portion of area between two functions

How can I fill the portion of the area between the functions $f(x) = 2x + 4$ and $g(x) = -6x-1$ in the interval $[-1, 3]$? I have searched over here but there are mostly examples that do involve the ...
user avatar
  • 713
7 votes
5 answers
350 views

How can I fill the inverted region of this?

How can I fill the inverted region of this? I want to fill the region outside of this shape t instead. ...
user avatar
  • 2,147
6 votes
3 answers
362 views

How to fill the first region enclosed by a self-intersecting parametric curve

For an arbitrary self-intersecting parametric curve, how to construct the region at its first intersection. Thanks! ...
user avatar
5 votes
2 answers
186 views

Filling region with a pattern

I'm trying to fill the region to the left of a vertical line with a pattern (Diagonal is enough for my purposes) and a different pattern to the right. I've tried <...
user avatar
  • 541
5 votes
3 answers
256 views

Filling in LogLogPlot

I have a function firsttempinterp[x] that I plot using LogLogPlot. I used Filling to fill a ...
user avatar
2 votes
1 answer
62 views

Unexpected behavior when using Filling within ListPlot for two datasets

I'm trying to visually recreate the idea of RSquared between data model from linear regression and my idea was to use ListPlot with data points and model evaluated on the x values of data points and ...
user avatar
0 votes
0 answers
138 views

How can I fill the bottom of 3d plots in Mathematica?

I am working with a graph where all of its bottom should be filled, I applied certain filling styles, however, that did not work. Could any body please assist in this case. The code I applied is: <...
user avatar
1 vote
1 answer
67 views

How to fill a lot of circles in a circle with a diameter of 60mm, and all the inner circles are tangent

I want to fill two circles with different diameters in a circle with a diameter of 60mm, the diameters of the two circles are 11mm and 7mm respectively. The inner circles are tangent respectively. The ...
user avatar
8 votes
2 answers
254 views

Filling between three curves

I have been trying to fill the area between the three curves on the graph below (area between the points a, b, and c), but have had no successful result so far. I kept a simple filling command to ask ...
user avatar
  • 113
0 votes
1 answer
40 views

Fill (shade) under a ListLinePlot curve between two abscissae (abscissas?)

I need to fill (shade) between a curve of a ListLinePlot and the axis. The goal is to show students a representation of a definite integral as the area under the ...
user avatar
  • 9,415
2 votes
2 answers
99 views

How to fill an Ellipses?

I am very new to Mathematica and I am plotting a standard deviation and represent it in ellipses form. But I am having a trouble filling it in with a color instead of showing a dot in the center. ...
user avatar
  • 23
3 votes
1 answer
118 views

Shading regions of a contour plot with values above/below a certain value

I have the following contour plot ...
user avatar
  • 367
1 vote
2 answers
82 views

How to fill left region of the plot with red and right region with yellow?

...
user avatar
4 votes
3 answers
199 views

How can I fill the part above the line given in Epilog with light gray?

How can I fill the part above the line given in Epilog with light gray or something? ...
user avatar
  • 2,147
3 votes
0 answers
54 views

Bug in Filling between ListPlots?

I am trying to plot three data sets with ListPlot and fill the space in between the curves and axis, as indicated in the examples below. But a very strange thing is ...
user avatar
  • 699
2 votes
2 answers
81 views

Filing region between plots with ListLinePlot?

I have the following plot, where {vsoundAll, decAll, pdivAll} are already given in some array and are irrelevant here. I am trying to fill the region between the yellow and red light using the command,...
user avatar
  • 23
6 votes
1 answer
127 views

Texture prevents JoinedCurve from closing

Bug introduced in 11.3 or earlier and fixed in 12.1 I am running Mathematica 11.3 and would like to see if this behavior is still present in newer versions of Mathematica before submitting a bug ...
user avatar
  • 1,001
2 votes
2 answers
96 views

errorplot coupled by shaded region of the dataset

I have a dataset with errors. I use "ListErrorPlot" to plot the data with the subquent errorbars. Now I need to shade the the data region. The shaded region will include data with error bars ...
user avatar
  • 309
1 vote
1 answer
168 views

Problem with log-log list contour plot and filling its selective parts with contour shading

I have the following data. I want to draw a List Contour with Log-Log on both axes using this data and then have to fill only the upper part and the elliptical part of the obtained contour log-log ...
user avatar
2 votes
2 answers
190 views

Fill in the hollow Spheres - generate solid spheres

I'd like to generate microstructures of composite materials and I use an algorithm to find the centers of the spheres knowing also the radius. My problem is that I only want solid spheres in order to ...
user avatar
4 votes
2 answers
178 views

(Filling problem in plotting a figure) How to fill the area between a function and a gridline?

I want to fill the area between the second gridline (blue and count from the left) and the yellow curve as shown in the figure. I used a simple code to illustrate the figure but I have no idea how to ...
user avatar
2 votes
2 answers
172 views

Plot legend for filling

I have a plot where several lines and curves intersect, and the regions between them are filled with red and blue. My code is ...
user avatar
6 votes
2 answers
369 views

How to ask Mathematica to fill in colors between curves in the given code?

I am using this code ...
user avatar
  • 1,069
2 votes
2 answers
128 views

Filling between two list plots to reperesent a confidence band

I've generated some confidence intervals for a Q-Q plot in the form of a list plot. However I am having some problems filing between the region. First of all here is the code to generate the intervals:...
user avatar
  • 2,291
2 votes
1 answer
56 views

A problem with correct filling for ListPlot and InterpolationOrder 0

Using ListPlot I can generate with ListPlot[{{344.41, 272.2, 280}, {345, 223, 278}}, InterpolationOrder -> 0, PlotRange -> {200, 400}, Joined -> True] a ...
user avatar
  • 23
2 votes
1 answer
86 views

How can I fill in a section of an ellipse converging on a focus rather than the center?

I am trying to plot a simple display of Kepler's second law - equal areas of an ellipse swept out in an equal amount of time. The problem is that I need my sections area sections to have a focus as ...
user avatar
4 votes
2 answers
151 views

Filling the Area between four Halflines in ProbabilityScalePlot

The following picture shows how I make a Weibull Graph to visualize the strength of samples. The code and the needed data are below. In the Epilog of ProbabilityScalePlot I am plotting the confidence ...
user avatar
  • 140
3 votes
1 answer
427 views

How to draw two vertical lines into a Plot or ParametricPlot and fill / shade the region between them?

I will give an example of a regular Plot, but I also need this to work for a ParametricPlot. Say I have ...
user avatar
  • 621
1 vote
1 answer
84 views

Why doesn't Manipulate work? [duplicate]

...
user avatar
2 votes
1 answer
76 views

Implementation of filling (Colour) [closed]

I have a question. When I use "Filling" Plot[Evaluate[{x^2, x}], {x, 1, 2}, PlotRange -> All, Filling -> {1 -> {2}}] One of the functions ...
user avatar
  • 585
9 votes
1 answer
151 views

Peculiar behaviour in the implementation of “Filling”

I was working with mathematica and I need to use "Filling", however I notice that it doesn't work when you have "small" numbers, for example if I make the following: ...
user avatar
  • 585
2 votes
1 answer
67 views

Issue with Option Filling -> Axis

In mathematica 12.0, the following code ...
user avatar
  • 21.7k
1 vote
1 answer
105 views

Filling complex areas of a ListPlot

I have a ListPlot with vertical and horizontal lines. I would like to color the resulting rectangles by something like "Fill with Green if less than both line 1 & line 3". However, I can't figure ...
user avatar
  • 33
3 votes
2 answers
150 views

How do I fill last 'side' of this parametric plot?

I have three curves defined by ...
user avatar
6 votes
2 answers
162 views

Filling and colouring

I am plotting to functions that look like this: I have used Filling -> Axis inside a plot and it produces the above example. My question is if I can more ...
user avatar
3 votes
2 answers
157 views

Correct filling for confidence interval

I have the following list: ...
user avatar
  • 2,696
5 votes
2 answers
151 views

Fill between 3D curves in `ParametricPlot3D`

I have a pair of 3D parametric curves: ...
user avatar
0 votes
1 answer
46 views

Filling between two lines on plot [closed]

Consider the plot Plot[{x,x^2},{x,1,2}] How to add a filling option such that the filling will be above x but below x^2?
user avatar
  • 3,542
1 vote
1 answer
125 views

Filling between more than two boundaries broken?

I want to fill between several curves. The documentation suggests Filling->{1->{{3},{None, Automatic}}, 2->{{3},{None, Automatic}}} should do the trick. ...
user avatar
  • 339