BarCharts`
BarCharts`

PercentileBarChart

As of Version 7.0, PercentileBarChart has been superseded by BarChart.

PercentileBarChart[{list1,list2,}]

generates a stacked bar chart of the data in the lists. The data for each group of bars is scaled so that the sum of the absolute values in a group of bars is 1.

更多信息和选项

  • To use PercentileBarChart, you first need to load the Bar Charts Package using Needs["BarCharts`"].
  • PercentileBarChart has the same options as Graphics with the following additions:
  • BarStyleAutomaticstyle for the bars
    BarSpacingAutomaticratio of bar width to space bars in a group
    BarGroupSpacingAutomaticspacing between groups of bars
    BarLabelsAutomaticlabels at tick marks for each bar (or group)
    BarValuesFalsewhether to show the length of each bar
    BarEdgesTruewhether edges are drawn around each bar
    BarEdgeStyleOpacity[0.5]style for the bar edges
    BarOrientationVerticaldetermines horizontal or vertical orientation
  • Each listi is a list of numbers or numeric values. For example: {1,7,-4,2,3}.
  • The listi need not have the same length.
  • The heights of all the groups of bars in an PercentileBarChart are the same.

范例

基本范例  (1)

Chart sets of values:

The total height is always the same, but negative values will display below the axis:

The sets need not have the same length:

Wolfram Research (2008),PercentileBarChart,Wolfram 语言函数,https://reference.wolfram.com/language/BarCharts/ref/PercentileBarChart.html.

文本

Wolfram Research (2008),PercentileBarChart,Wolfram 语言函数,https://reference.wolfram.com/language/BarCharts/ref/PercentileBarChart.html.

CMS

Wolfram 语言. 2008. "PercentileBarChart." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/BarCharts/ref/PercentileBarChart.html.

APA

Wolfram 语言. (2008). PercentileBarChart. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/BarCharts/ref/PercentileBarChart.html 年

BibTeX

@misc{reference.wolfram_2024_percentilebarchart, author="Wolfram Research", title="{PercentileBarChart}", year="2008", howpublished="\url{https://reference.wolfram.com/language/BarCharts/ref/PercentileBarChart.html}", note=[Accessed: 25-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_percentilebarchart, organization={Wolfram Research}, title={PercentileBarChart}, year={2008}, url={https://reference.wolfram.com/language/BarCharts/ref/PercentileBarChart.html}, note=[Accessed: 25-November-2024 ]}