LegendTextDirection
LegendTextDirection
Legendのオプションであり,記号の隣に置くテキストの方向を指定する.
詳細とオプション
- LegendTextDirectionを使うためには,まずプロットの凡例パッケージをロードしなくてはならない.それにはNeeds["PlotLegends`"]を実行する必要がある.
- 以下の設定を使うことができる:
-
Automatic 自動的に方向を決定する(デフォルト) dir Textグラフィックスプリミティブで使ってあるのと同じ設定を使う
例題
例 (1)
Needs["PlotLegends`"]Plot[{Sin[x], Cos[x]}, {x, 0, 2Pi}, PlotLegend -> {"sine", "cosine"}, LegendTextDirection -> Automatic]Plot[{Sin[x], Cos[x]}, {x, 0, 2Pi}, PlotLegend -> {"sine", "cosine"}, LegendTextDirection -> {1, 1}]テクニカルノート
関連するガイド
テキスト
Wolfram Research (2007), LegendTextDirection, Wolfram言語関数, https://reference.wolfram.com/language/PlotLegends/ref/LegendTextDirection.html.
CMS
Wolfram Language. 2007. "LegendTextDirection." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/PlotLegends/ref/LegendTextDirection.html.
APA
Wolfram Language. (2007). LegendTextDirection. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/PlotLegends/ref/LegendTextDirection.html
BibTeX
@misc{reference.wolfram_2026_legendtextdirection, author="Wolfram Research", title="{LegendTextDirection}", year="2007", howpublished="\url{https://reference.wolfram.com/language/PlotLegends/ref/LegendTextDirection.html}", note=[Accessed: 11-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_legendtextdirection, organization={Wolfram Research}, title={LegendTextDirection}, year={2007}, url={https://reference.wolfram.com/language/PlotLegends/ref/LegendTextDirection.html}, note=[Accessed: 11-August-2026]}