BarCharts`
BarCharts`

BarSpacing

As of Version 7.0, BarSpacing is part of the built-in Wolfram Language kernel.

BarSpacing

is an option for bar charts that determines the fraction of the bar width to space the bars in a group of bars.

更多信息和选项

  • To use BarSpacing, you first need to load the Bar Charts Package using Needs["BarCharts`"].
  • BarSpacing sets the distance between bars within a group of bars in BarChart.
  • BarSpacing sets the distance between groups of bars in PercentileBarChart and StackedBarChart.
  • In BarChart3D, BarSpacing->{m,n} specifies distances between bars in the x and y directions.

范例

基本范例  (1)

The bars within a group are tightly packed:

The bars within a group are widely spaced:

The columns are widely spaced:

This leaves space in the x direction, but not in the y direction:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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