当前位置:酷酷问答>百科问答>maple画统计饼状图攻略-PieChart函数

maple画统计饼状图攻略-PieChart函数

2025-01-10 17:31:37 编辑:zane 浏览量:542

maple画统计饼状图攻略-PieChart函数

的有关信息介绍如下:

maple画统计饼状图攻略-PieChart函数

这篇文档将通过多个程序算例详细介绍maple画统计饼状图攻略-PieChart函数

PieChart命令为指定的数据生成饼图。

第一个参数X是类型值=频率的等式的列表。 还可以给出一个列表或向量值,在这种情况下,所有频率将被设置为相等。

PieChart(X, options, plotoptions)

PieChart['interactive'](X)

with(Statistics);

A := [seq(i = sqrt(i), i = 1 .. 15)];

PieChart(A, sector = 0 .. 180);

程序编译结果如右图所示

B := [seq(i = sqrt(abs(7-i))+1, i = 1 .. 16, 2)];

PieChart(B, sector = 0 .. 270, annular);

程序编译结果如右图所示

plots[display](PieChart(A, annular = 1), PieChart(B, sector = 90 .. 270, annular = 2))

程序编译结果如右图所示

plots[display](PieChart(A, annular = 1, render3d), PieChart(B, sector = 90 .. 270, annular = 2, render3d = 1))

程序编译结果如右图所示

T := [StringTools:-CharacterFrequencies("honorificabilitudinitatibus")]

PieChart(T, color = "Crimson" .. "Gold", explode = [seq(i, i = "a" .. "i")])

程序编译结果如右图所示

plots[display](PieChart(A, sector = 45 .. 225, annular = 2.25 .. 4, color = "MediumTurquoise" .. "MediumVioletRed"), PieChart(B, sector = 30 .. 270, annular = 1, color = "MediumTurquoise" .. "Navy"), PieChart(A[5 .. 10], annular = false, color = "Navy" .. "MediumTurquoise"), PieChart(T, color = "Crimson" .. "Gold", explode = [seq(i, i = "j" .. "u")], annular = 4.25 .. 6))

版权声明:文章由 酷酷问答 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.kukuwd.com/answer/174836.html
热门文章