图表类型 XY (散点图)

图表向导的第一页中,您可以选择一种图表类型。

要访问此命令...

From the menu bar:

Choose Insert - Chart - Chart Type...

From the tabbed interface:

Choose Insert - Chart - Chart Type...

From toolbars:

Icon Insert Chart

插入图表

Then choose XY (Scatter).


XY (散点图)

一个 XY 图表在它的基本形式中是基于一个由名称、x 值列表和 y 值列表构成的数据序列的。每一对数值 (x|y) 显示为坐标系上的一个点。数据序列的名称与 y 值关联,并显示在图例中。

为下列示例任务选择一个 XY 图表:

  1. 缩放 x 轴

  2. 生成一个参数曲线,例如一条螺旋线

  3. 绘制函数图

  4. 研究定量变量的统计关联

XY 图表可能具有多个数据序列。

XY 图表变量

您可以在图表向导的第一页中选择一个 XY 图表,或在编辑模式中选择「格式 - 图表类型」为图表设置类型。

使用默认设置创建图表。图表创建完成之后,您可以编辑它的属性以更改外观。线条样式和图标可以在数据序列属性对话框的「线条」选项卡页面中进行更改。

双击任意数据点打开「数据序列」对话框。在该对话框中,您可以更改数据序列的许多属性。

对于二维图表,您可以选择「插入 - Y 误差线」来启用显示误差线。

您可以用「插入」菜单的命令来启用显示平均值线和趋势线。

只绘制点

每个数据点由一个图标来显示。LibreOffice 对于每个数据序列使用默认的不同形式和颜色的图标。默认的颜色可在 - 图表 - 默认颜色.选项中设置。

Icon Points only

Points only

只绘制线条

此变量绘制一条从一个数据点到下一个数据点的直线。数据点不用图标显示。

绘图的顺序与数据序列的顺序相同。标记「按 X 值排序」以 x 值的顺序绘图线条。此排序只被应用到图表中,而不应用到表格中的数据中。

Icon Lines only

Lines only

点和线

此变量同时显示点和线。

Icon Points and Lines

Points and Lines

三维线条

线条显示为带状。数据点不使用图标显示。在已完成的图表中选择三维视图来设置例如照明和视角等属性。

Icon 3D Lines

3D Lines

平滑线

从「线条类型」中选择「平滑线」以绘制曲线,而不是直线段。

点击「属性」以设置曲线的细节。

Line type

选择三次样条或 B 样条。

这些数学模型将影响曲线的显示。曲线通过合并多项式各段生成。

Cubic Spline interpolates your data points with polynomials of degree 3. The transitions between the polynomial pieces are smooth, having the same slope and curvature.

B-Spline uses a parametric, interpolating B-spline curve. Those curves are built piecewise from polynomials.

Resolution

The Resolution determines how many line segments are calculated to draw a piece of polynomial between two data points. You can see the intermediate points if you click any data point.

A higher value leads to a smoother line.

Degree of polynomials

对 B-样条 可以选择性地设置多项式的阶数。

阶梯线

从「线条类型」中选择「阶梯线线」以绘制从点到点之间的阶梯线,而不是直线段。

点击「属性」以设置曲线的细节。

有4种阶梯线类型:

Step

Description

Start step icon

Start with horizontal line and step up vertically at the end.

End step icon

Start to step up vertically and end with horizontal line.

Center X icon

Start with horizontal line, step up vertically in the middle of the X values and end with horizontal line.

Center Y icon

Start to step up vertically to the middle of the Y values, draw a horizontal line and finish by stepping vertically to the end.


请支持我们!