The Math Forum

Search All of the Math Forum:

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

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Lengyel Tamas

Posts: 10
Registered: 2/23/11
Blending in DiscretePlot
Posted: Feb 23, 2011 5:28 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.