PieOrientation
is an option for PieChart that determines the placement of the first piece of data.
PieOrientation
PieOrientation
is an option for PieChart that determines the placement of the first piece of data.
更多信息和选项
- To use PieOrientation, you first need to load the Pie Charts Package using Needs["PieCharts`"].
- PieOrientation->θ starts the pie chart along the angle θ. θ=0 corresponds to the positive x axis, and increases in a counterclockwise direction.
- PieOrientation->dir fills the pie chart in the specified direction. dir can be either "Clockwise" or "CounterClockwise".
- PieOrientation->{θ,dir} starts along the angle θ and proceeds in the direction dir.
- PieOrientation->Automatic is the same as PieOrientation->{0,"CounterClockwise"}.
范例
基本范例 (1)
Needs["PieCharts`"]The first pie wedge normally starts along the positive x axis and proceeds in a counterclockwise direction:
PieChart[{1, 2}, PieOrientation -> Automatic]Start along the positive y axis:
PieChart[{1, 2}, PieOrientation -> Pi / 2]Proceed in a clockwise direction:
PieChart[{1, 2}, PieOrientation -> "Clockwise"]Start along the positive y axis, and proceed in a clockwise direction:
PieChart[{1, 2}, PieOrientation -> {Pi / 2, "Clockwise"}]相关指南
文本
Wolfram Research (2007),PieOrientation,Wolfram 语言函数,https://reference.wolfram.com/language/PieCharts/ref/PieOrientation.html.
CMS
Wolfram 语言. 2007. "PieOrientation." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/PieCharts/ref/PieOrientation.html.
APA
Wolfram 语言. (2007). PieOrientation. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/PieCharts/ref/PieOrientation.html 年
BibTeX
@misc{reference.wolfram_2026_pieorientation, author="Wolfram Research", title="{PieOrientation}", year="2007", howpublished="\url{https://reference.wolfram.com/language/PieCharts/ref/PieOrientation.html}", note=[Accessed: 18-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_pieorientation, organization={Wolfram Research}, title={PieOrientation}, year={2007}, url={https://reference.wolfram.com/language/PieCharts/ref/PieOrientation.html}, note=[Accessed: 18-August-2026]}