MathGroup Archive 2011

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

Search the Archive

Re: Gradient Fill Style

  • To: mathgroup at smc.vnet.net
  • Subject: [mg117233] Re: Gradient Fill Style
  • From: Heike Gramberg <heike.gramberg at gmail.com>
  • Date: Sat, 12 Mar 2011 05:09:12 -0500 (EST)

An option for circles would be to use RegionPlot and set the ColorFunction option to the desired gradient, e.g.

RegionPlot[{x^2 + y^2 < 1}, {x, -1, 1}, {y, -1, 1}, PlotRange -> All,
 Mesh -> False, Axes -> False,
 ColorFunction -> (Blend[{Purple, Yellow}, (#1 + 1)/2] &),
 ColorFunctionScaling -> False, Frame -> False, BoundaryStyle -> None]

Heike

On 10 Mar 2011, at 11:56, Francisco Javier Garc=EDa Capit=E1n wrote:

> Dear friends, how can we fill a circle with a gradient style to get circles
> and polygons like we can see at
>
> ---
> Francisco Javier Garc==EDa Capit==E1n
> http://garciacapitan.auna.com


  • Prev by Date: Another crash 8.00 & 8.01
  • Next by Date: Re: Solve::ivar: xxx is not a valid variable. >>
  • Previous by thread: Re: Gradient Fill Style
  • Next by thread: CDF player and opening non-Mathematica files