RadialGradientFilling

RadialGradientFilling[{col1,col2,,coln}]

is a two-dimensional graphics directive specifying that faces of polygons and other filled graphics objects are to be drawn using concentric circles of colors coli.

RadialGradientFilling[{r1,r2,,rn}{col1,col2,,coln}]

uses the colors coli at radii ri.

RadialGradientFilling[{r1,r2,,rn}{col1,col2,,coln},{x,y}]

radiates from the center point {x,y}.

RadialGradientFilling[{r1,r2,,rn}{col1,col2,,coln},{{x,y},{r1,r2}}]

radiates from the center point {x,y} in concentric axis-aligned ellipsoids with semiaxes length proportional to ri.

RadialGradientFilling[{r1,r2,,rn}{col1,col2,,coln},{{x,y},{r1,r2}},padding]

uses the specified padding when drawing beyond the boundary radii r1 and rn.

Details

Examples

open allclose all

Basic Examples  (3)

Apply a radial gradient filling to a disk:

Plot a vector field with background gradient color indicating the vector magnitude:

A radial gradient filling of the US map:

Scope  (12)

Basic Uses  (6)

Apply gradient filling to graphics primitives:

Apply gradient filling to a plot:

Apply gradient filling to a chart:

Style a geometric region:

Show a schematic outline map:

Summary box:

Specifications  (6)

LinearGradientFilling with no arguments draws a progressive transition from Black to White:

Use a custom color sequence:

Specify the scaled position of each color:

Scaled positions are taken to be relative to the width of the graphic objects:

Specify color positions by fractions of the whole image:

Use predefined color scheme from ColorData:

Specify the center of the concentric circles:

Specify semiaxis:

Applications  (8)

Basic Applications  (2)

Show gradient colors with different radii:

Show gradient colors with different center points:

Along the axis with :

Along the axis with :

Along the diagonal:

Basic Applications  (3)

Show gradient colors and their positions:

Progressive transition between colors at 0 and 1:

Colors at midpoints:

Colors at random positions:

Show gradient directions:

Different angles:

Show gradient colors and padding:

Fixed padding:

Periodic padding:

Reflected padding:

Gradient Colors  (3)

Collection of gradient colors in ColorData:

Show gradients:

Collection of gradient colors in the Wolfram Data Repository:

Show gradients:

Collection of hue colors in the Wolfram Data Repository:

Show gradients:

Reverse the order of the colors:

Wolfram Research (2020), RadialGradientFilling, Wolfram Language function, https://reference.wolfram.com/language/ref/RadialGradientFilling.html.

Text

Wolfram Research (2020), RadialGradientFilling, Wolfram Language function, https://reference.wolfram.com/language/ref/RadialGradientFilling.html.

CMS

Wolfram Language. 2020. "RadialGradientFilling." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RadialGradientFilling.html.

APA

Wolfram Language. (2020). RadialGradientFilling. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RadialGradientFilling.html

BibTeX

@misc{reference.wolfram_2024_radialgradientfilling, author="Wolfram Research", title="{RadialGradientFilling}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/RadialGradientFilling.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_radialgradientfilling, organization={Wolfram Research}, title={RadialGradientFilling}, year={2020}, url={https://reference.wolfram.com/language/ref/RadialGradientFilling.html}, note=[Accessed: 18-November-2024 ]}