Linked Questions

10
votes
2answers
3k views

How can I fill under a function in a plot just to right of a specified vertical line? [duplicate]

How do I plot a normal curve with filling under the curve and to the right of a vertical line. I would prefer that the vertical line starts at the x-axis and stops at the plotted curve. Basically ...
2
votes
3answers
938 views

Can you Plot over some range but apply the “Filling” option over a smaller range? [duplicate]

I would like to shade the area between a function, and a line, but only over a specific range. This range is smaller than the range of the entire plot. The example code and plot below make my goal ...
4
votes
1answer
1k views

Filling only part of a plot [duplicate]

I have something plotted on [-6,6] but I would like to fill only the part from [-5,5] (to the axis). I'm looking through the documentation but I'm not terribly well-versed in Mathematica and can't ...
4
votes
2answers
283 views

Fill curve betwen specified abscissa points [duplicate]

I am plotting the Maxwell-Boltzman distribution of molecular speeds. I want to be able to select a region to integrate using a manipulate function. Then I want to have that same region filled in on ...
4
votes
2answers
470 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
106 views

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

I have the following code that produces a plot of a Normal distribution: ...
1
vote
2answers
273 views

How do I fill the positive side of a graph? [duplicate]

I'm trying to plot $\sin(x)/x$ and fill the positive side. How do I achieve that? I know how to fill the entire axis. Here's what I have: ...
0
votes
1answer
84 views

How can I plot a curve with a filled sub-domain? [duplicate]

How can I plot a curve with a filled sub-domain as shown below?
1
vote
1answer
69 views

Different curve color and filling in a subdomain of a plot [duplicate]

What is an easy way to define a filling and a color for a curve in the subdomain going from $0$ to $1$? ...
0
votes
1answer
33 views

Graphically display integration region of some function [duplicate]

If I have some arbitrary curve $f(x)$ and I want to integrate it with a set of limits, is it possible to colour the area under this curve that I have integrated based on the limits?
10
votes
4answers
2k views

Plot Filling restricted to domain segment

I'm trying to plot the function $f(x)=\dfrac{1}{x^2}$, filling the square area from (0,0) to (1,1) with purple and filling the area under the curve from 1 to 4 with red. However, Mathematica is not ...
4
votes
4answers
409 views

Filling and Shading an Harmonic Curve

Suppose I have an equation plotted as shown: ...
3
votes
1answer
107 views

Filling the Area Under a Curve Bounded on the Left and Right

Grandson & I are once again using Mathematica to demonstrate some of his calculus. He's on definite integrals now. His problem asked him to determine the area under the curve for y = 3 x, ...