Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Blending in DiscretePlot
Replies: 1   Last Post: Feb 24, 2011 6:25 AM

 Messages: [ Previous | Next ]
 Lengyel Tamas Posts: 10 Registered: 2/23/11
Blending in DiscretePlot
Posted: Feb 23, 2011 5:28 AM

Dear MathWorld Users,

I am trying to achieve a graphic solution of a function:

DiscretePlot[((F/2 - 1) + (F^2 - 6*F + 2*F*n - 2 n^2 + 2 n + 4)/
4), {n, 1, F}, AxesOrigin -> {-F, 0},
PlotRange -> {{-F, 2 F}, {0, F^2/2.5}},PlotStyle -> {Thickness[0.1]},
FillingStyle -> Red]

I want it to be symmetrically blended so that the highest value is e.g
yellow, and the as the values decrease on each side, they blend into red
according to the values.
Unfortunately I have no idea how this can be achieved with discrete values.

I kindly appreciate your help.

Thank you.

Tamás Lengyel
MSc. Student @ BUTE

Date Subject Author
2/23/11 Lengyel Tamas
2/24/11 Heike Gramberg