Linked Questions

10 votes
2 answers
4k 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 ...
Fred Schenkelberg's user avatar
2 votes
3 answers
1k 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 ...
Ajay's user avatar
  • 227
5 votes
1 answer
2k 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 ...
user11651's user avatar
4 votes
2 answers
1k views

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

This is an example from ListPlot in the Mathematica documentation. ...
Taeshin Kim's user avatar
3 votes
2 answers
401 views

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

I have the following code that produces a plot of a Normal distribution: ...
user120911's user avatar
  • 2,655
4 votes
2 answers
396 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 ...
olliepower's user avatar
  • 2,254
1 vote
2 answers
397 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: ...
Ccyan's user avatar
  • 239
4 votes
1 answer
161 views

How to plot a portion of a curve and the area under it [duplicate]

I want to display the portion of the curve Plot[Exp[-x^2], {x, 0, 1}, PlotStyle -> {Blue}, Filling -> Bottom, GridLines -> {{0.6}, {0.7}}] (and the area ...
Mike's user avatar
  • 471
0 votes
1 answer
108 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?
user45951's user avatar
1 vote
1 answer
93 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$? ...
vito's user avatar
  • 8,958
0 votes
1 answer
44 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?
user27119's user avatar
  • 2,490
10 votes
4 answers
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 ...
Eudokia's user avatar
  • 103
4 votes
4 answers
458 views

Filling and Shading an Harmonic Curve

Suppose I have an equation plotted as shown: ...
Afloz's user avatar
  • 261
6 votes
2 answers
375 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 ...
Weierstraß Ramirez's user avatar
4 votes
1 answer
295 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, ...
OilerMan's user avatar
  • 561

15 30 50 per page