颜读(36):Origin学习之绘制散点图

B站影视 港台电影 2025-09-13 23:53 1

摘要:Origin散点图是一种在二维或三维坐标系中,使用一组点(或符号)来表示两个(或三个)数值变量取值的图表。每个点的位置由其在X轴和Y轴(以及Z轴)上的对应数值决定。它直观地揭示两个变量之间是否存在相关关系、趋势、聚类或异常值。典型应用场景有实验数据验证(如胡克

分享兴趣,传播快乐,

增长见闻,留下美好!

亲爱的您,这里是LearningYard学苑。

今天小编为大家带来

“颜读(36):Origin学习之绘制散点图”

欢迎您的访问!

Share interest, spread happiness,

increase knowledge, and leave beautiful.

Dear, this is the LearningYard Academy!

Today, the editor brings the

"Yan Du (36): Learning to Draw Scatter Plots in Origin."

Welcome to visit!

一、思维导图(Mind Mapping)

二、散点图简介(Introduction to scatter plots)

Origin散点图是一种在二维或三维坐标系中,使用一组点(或符号)来表示两个(或三个)数值变量取值的图表。每个点的位置由其在X轴和Y轴(以及Z轴)上的对应数值决定。它直观地揭示两个变量之间是否存在相关关系、趋势、聚类或异常值。典型应用场景有实验数据验证(如胡克定律、标准曲线)、相关性分析、数据分布观察等几乎所有科学和工程领域。

Scatter plots in Origin are graphical representations that display a set of points (or symbols) in a two-dimensional or three-dimensional coordinate system to illustrate the values of two (or three) numerical variables. The position of each point is determined by its corresponding values on the X and Y axes (and Z-axis in 3D cases). This visualization intuitively reveals whether there are correlations, trends, clusters, or outliers between variables. Typical applications include experimental data validation (e.g., Hooke's Law, standard curves), correlation analysis, and data distribution observation, spanning nearly all scientific and engineering fields.

三、绘制步骤(Step-by-step guide to drawing a scatter plot)

(1)输入数据(Input data)

打开Origin软件,默认会创建一个新项目并包含一个名为“Book1”的工作簿。在工作簿的A(X)列、B(Y)列、C(Y)列分别输入数据。通常,X列代表自变量,Y列代表因变量。下图第一列表示温度,第二列表示反应速率,第三列表示误差值。

Open Origin software. By default, a new project will be created, containing a workbook named 'Book1'. Enter data into Column A(X), Column B(Y), and Column C(Y) of the workbook. Typically, the X column represents the independent variable, while the Y columns represent the dependent variables. The first column in the figure represents temperature, the second column represents reaction rate, and the third column represents error values.

(2)设置列角色(Assign column roles)

在Origin工作表中,把第1列设为X,第2列设为Y。第三列保持为Y Error,在第三列用鼠标右击,选择设置为Y误差即可。

In the Origin worksheet, set Column 1 as X, Column 2 as Y, and keep Column 3 as Y Error. To do this, right-click Column 3 and select Set as Y Error from the context menu.

(3)绘制散点图(Draw a scatter plot)

设置好列角色之后,选中表格数据,在菜单栏选择“绘图”选项,在基础2D图中选择“Y误差图”绘图类型,生成效果如下图所示。

After assigning the column roles, select the worksheet data, navigate to the menu bar, and choose Plot> Basic 2D > Y-Error Plot. The resulting graph will appear as shown in the figure below.

(4)美化图形(Enhance the graph)

生成的初始图通常比较粗糙,可以进一步美化图形。首先可以为图形添加标题,用鼠标右击图形空白处,选择“添加/修改图层标题”选项,手动输入图形标题标题就添加成功了。

The initially generated graph often appears rough and can be further polished. First, add a title by right-clicking an empty area of the graph, selecting 'Add/Modify Layer Title' from the context menu, and manually entering your desired title. The title will then be successfully added.

之后可以调整点的形状、颜色,设置误差棒的颜色、粗细,设置方式是直接在图形中双击调整对象,在绘图细节中修改即可。

After creating the graph, you can customize the point shape, color, and error bar properties (e.g., color, thickness) by double-clicking the object directly in the plot. Then modify the settings in the Plot Details dialog box.

(5)导出图形(Export the graph)

自定义图形之后,生成最终图形,然后根据需要的格式,在文件中选择“导出图形”并保存项目即可。

After customizing the graph, generate the final version. Then, depending on your required format, select'Export Graph' from the 'File' menu and save your project accordingly.

学会了的话,不妨就动手试试。

If you've learned it, why not give it a try yourself?

今天的分享就到这里了,

如果您对文章有独特的想法,

欢迎给我们留言,

让我们相约明天。

祝您今天过得开心快乐!

That's all for today's sharing.

If you have a unique idea about the article,

please leave us a message,

and let us meet tomorrow.

I wish you a nice day!

翻译:文心一言

参考资料:CSDN博客、deepseek、ChatGPT

本文由LearningYard学苑整理发出,如有侵权请在后台留言!

来源:LearningYard学苑

相关推荐