|
SOLUTIONS
|
MATHEMATICA 内置符号
SectorChart
SectorChart[{{x1, y1}, {x1, y2}, ...}]
制作一个扇形图表,其扇形角和
成比例,并且有半径
.
SectorChart[{..., wi[{xi, yi}, ...], ..., wj[{xj, yj}, ...], ...}]
制作一个扇形图表,其扇形特性由符号封装
定义.
SectorChart[{data1, data2, ...}]
绘制多个数据集
的一个扇形图表.
更多信息更多信息
- SectorChart 的数据元素可以给出下列形式:
-
{xi,yi} 扇形角和半径 wi[{xi,yi},...] 大小
和封装
的扇形 formi->mi 有元数据
的一个扇形 - 没有按这些形式给出的数据在扇形图表的形成过程中被忽略.
- SectorChart 中的数据集可以给出下列形式:
-
{e1,e2,...} 有或无包装的元素列表 w[{e1,e2,...},...] 包装应用于整个数据集 w[{data1,data1,...},...] 包装应用于所有数据集 - 下列包装可以用于图表元素:
-
Annotation[e,label] 提供一个注解 Button[e,action] 当点击元素时,执行的行为 EventHandler[e,...] 定义元素的普通事件处理 Hyperlink[e,uri] 使得元素作为一个超链接 Labeled[e,...] 用标签显示元素 Legended[e,...] 在一个图例中元素的特例 Mouseover[e,over] 使得元素显示为一个鼠标指向的形式 PopupWindow[e,cont] 元素增加一个弹出窗口 StatusArea[e,label] 当鼠标指向时,在状态栏上显示 Style[e,opts] 用指定的样式显示元素 Tooltip[e,label] 为元素增加一个提示工具 - 在
中,Labeled 和 Placed 允许使用下列名称位置: -
"RadialOuter","RadialCenter","RadialInner" 扇形内的位置 "RadialOutside","RadialInside","RadialEdge" 扇形外的位置 "RadialCallout" 标注线的位置 {{s
,sr},{lx,ly}}缩放标签中坐标
到扇形中极坐标 
- SectorChart 有和 Graphics 相同的选项,并增加下列变化:
-
ChartBaseStyle Automatic 扇形的整体样式 ChartElementFunction Automatic 如何产生扇形的原图形 ChartLabels None 数据元素和数据集的标签 ChartLayout Automatic 使用的整体布局 ChartLegends None 数据元素和数据集的图例 ChartStyle Automatic 扇形的样式 ColorFunction Automatic 如何着色扇形 ColorFunctionScaling True 是否标准化参数到 ColorFunction LabelingFunction Automatic 如何标注扇形 LegendAppearance Automatic 图例的整体外观 PerformanceGoal $PerformanceGoal 优化执行的方面 PlotRange Automatic 包含值的范围 PolarAxes False 是否绘制极轴 PolarAxesOrigin Automatic 在哪里绘制极轴 PolarGridLines None 极坐标网格线 PolarTicks Automatic 极轴刻度 SectorOrigin Automatic 初始角度和扇形弧度 SectorSpacing Automatic 扇形间的间距 - ChartLayout 的可能设置包括
和
. - ChartElementFunction 的参数是扇形区域
, 值
和数据集的嵌套列表中每层的元数据
. - ChartElementFunction 的内置列表可以从
得到. - ColorFunction 的参数是
和 r ,
是扇形的角度, r 是半径. - SectorChart 中选项和其它结构的样式和其它设置按照 ChartStyle, ColorFunction, Style 和 和其他包装和ChartElementFunction,后面的设置会屏蔽之前的设置.
版本 7 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »







