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:

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.

BibTeX

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

BibLaTeX

@online{reference.wolfram_2020_radialgradientfilling, organization={Wolfram Research}, title={RadialGradientFilling}, year={2020}, url={https://reference.wolfram.com/language/ref/RadialGradientFilling.html}, note=[Accessed: 16-January-2021 ]}

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