Directive

Directive[g1,g2,]

represents a single graphics directive composed of the directives g1, g2, .

Details

  • Any directives supported by Graphics or Graphics3D can appear inside Directive.
  • Directive[{g1,g2,}] is equivalent to Directive[g1,g2,].

Examples

open allclose all

Basic Examples  (4)

Give composite directives for primitives in a graphic:

Give a composite directive for a single curve or surface in a plot:

Give a composite directive for each curve in a plot:

Combine font styles:

Neat Examples  (1)

Mesh shading with composite directives:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2023_directive, author="Wolfram Research", title="{Directive}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Directive.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_directive, organization={Wolfram Research}, title={Directive}, year={2007}, url={https://reference.wolfram.com/language/ref/Directive.html}, note=[Accessed: 19-March-2024 ]}