Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Blending in DiscretePlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116673] Blending in DiscretePlot
  • From: Lengyel Tamas <lt648 at hszk.bme.hu>
  • Date: Wed, 23 Feb 2011 05:26:08 -0500 (EST)

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


  • Prev by Date: error when trying to run a Mathematica script in Windows 7
  • Next by Date: Mathematica Weirdness
  • Previous by thread: error when trying to run a Mathematica script in Windows 7
  • Next by thread: Re: Blending in DiscretePlot