Directive
Directive[g1,g2,…]
指示子 g1, g2, … からなる単一のグラフィックス指示子を表す.
詳細
- GraphicsやGraphics3Dでサポートされている指示子はどれでもDirective中に現れることができる.
- Directive[{g1,g2,…}]はDirective[g1,g2,…]と等価である.
例題
すべて開く すべて閉じる例 (4)
Graphics[{Directive[Red, Thick], Circle[], Directive[Blue, Opacity[0.5]], Rectangle[{0, -1}, {2, 1}]}]プロット中の1本の曲線あるいは1つの曲面のための合成指示子を与える:
Plot[Sin[x], {x, 0, 10}, PlotStyle -> Directive[Orange, Thick, Dashed]]Plot3D[Sin[x + y ^ 2], {x, -3, 3}, {y, -2, 2}, PlotStyle -> Directive[Orange, Specularity[White, 10]], Mesh -> None]Plot[{Sin[x], Cos[x]}, {x, 0, 10}, PlotStyle -> {Directive[Red, Dashed], Directive[Blue, Thick]}]Plot[2Sin[x], {x, 0, 10}, Frame -> True, FrameLabel -> {x, 2Sin[x]}, LabelStyle -> Directive[Medium, Italic]]関連するガイド
-
▪
- グラフィックス指示子 ▪
- グラフィックスの結合 ▪
- 色
テキスト
Wolfram Research (2007), Directive, Wolfram言語関数, 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_2026_directive, author="Wolfram Research", title="{Directive}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Directive.html}", note=[Accessed: 09-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_directive, organization={Wolfram Research}, title={Directive}, year={2007}, url={https://reference.wolfram.com/language/ref/Directive.html}, note=[Accessed: 09-September-2026]}