Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Filling option in plot?' topicStudent Support Forum > General > Archives > "Filling option in plot?"

Next Comment >Help | Reply To Topic
Author Comment/Response
cww
10/26/12 4:53pm

I am trying to graph a simple parabola and then have the graphic shade underneath. The original plot works fine, but I cannot get the Filling option to work, no matter what I try. Reading the Mathematica documentation is not helping. Could someone possibly tell me where I am going wrong here?

This plot works fine (without the filling):
Plot[-x^2 + 10x, {x, 0, 10}]

However, this plot does not work at all:
Plot[-x^2 + 10x, {x, 0, 10},Filling-->Axis]

It just returns the following output:
{{x -> 0}, {x -> 10}}

Can someone possibly tell me what I need to do in order to just generate the plot of the parabola with the area under the curve shaded in?

Thanks for reading my post!

URL: ,

Subject (listing for 'Filling option in plot?')
Author Date Posted
Filling option in plot? cww 10/26/12 4:53pm
Re: Filling option in plot? jf 10/26/12 5:18pm
Re: Re: Filling option in plot? cww 10/26/12 5:55pm
Re: Re: Re: Filling option in plot? jf 10/27/12 12:12pm
Re: Re: Re: Re: Filling option in plot? cww 10/28/12 12:19pm
Next Comment >Help | Reply To Topic