摘要:折线图是Origin中最常见的数据可视化图表类型之一。它通过在坐标系中将数据点用直线连接起来,展现变量之间的变化趋势。常用于时间序列数据分析、实验测量随参数变化的趋势、多组数据之间的对比。Origin中常见的折线图类型有基本折线图、带符号的折线图、多折线图、带
分享兴趣,传播快乐,
增长见闻,留下美好!
亲爱的您,这里是LearningYard学苑。
今天小编为大家带来
“颜读(33):Origin学习之绘制折线图”
欢迎您的访问!
Share interest, spread happiness,
increase knowledge, and leave beautiful.
Dear, this is the LearningYard Academy!
Today, the editor brings the
"Yan Du (33): Learning to Draw Line Charts in Origin."
Welcome to visit!
一、思维导图(Mind Mapping)
二、折线图简介(Introduction to line charts)
折线图是Origin中最常见的数据可视化图表类型之一。它通过在坐标系中将数据点用直线连接起来,展现变量之间的变化趋势。常用于时间序列数据分析、实验测量随参数变化的趋势、多组数据之间的对比。Origin中常见的折线图类型有基本折线图、带符号的折线图、多折线图、带误差棒的折线图、阶梯折线图、3D折线图。
line chart is one of the most common data visualization chart types in Origin. It displays trends between variables by connecting data points with straight lines in a coordinate system. It is frequently used for analyzing time-series data, tracking experimental measurement trends as parameters change, and comparing multiple datasets. Common line chart types in Origin include basic line charts, line charts with symbols, multi-line charts, line charts with error bars, step line charts, and 3D line charts.
三、绘制步骤(Step-by-step guide to drawing a radar chart)
(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 dependent variables.
(2)绘制图形:折线图(Draw a line graph)
首先用鼠标选中表中数据,然后点击左下角的工具栏上的“点线图”按钮,或者在“绘图”选项中选择折线图样式,一张基本的折线图就会立即生成在一个新的图形窗口中。
First, select the data in the worksheet using your mouse. Then, click the 'Line + symbol' button on the bottom-left toolbar, or choose a line chart style under the 'Plot' menu. A basic line chart will instantly generate in a new graph window.
(3)自定义和美化图形(Customize 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.
然后修改坐标轴标签,双击坐标轴刻度线,打开“Axis”对话框,在这里可以详细设置刻度范围、类型、刻度线朝向、以及主副刻度等。这里小编修改了主刻度值、下轴和左轴线条的粗细、主刻度和次刻度的样式以及轴线上数字的大小。
Next, modify the axis labels by double-clicking the axis tick marks to open the 'Axis' dialog box. Here, you can configure detailed settings such as scale range, axis type, tick direction, and major/minor tick marks. In this example, we adjusted the major tick values, line thickness for the bottom and left axes, styles of major and minor ticks, and font size of axis numbers.
接着修改图形线条和符号样式,双击图中的线条,会弹出绘图属性表格,首先在“组”选项中选择“独立”,然后就可以点击不同线条,设置不同的颜色、线型、标记类型和线条粗细。
Next, modify the line and symbol styles by double-clicking any line in the graph to open the Plot Details dialog. First, select 'Independent' under the 'Group' tab. You can then click individual lines to customize their color, line type, marker style, and line thickness.
最后修改图例样式,鼠标右击图例,弹出窗口选择“属性”选项,根据自己需要修改图例文本、边框、符号等等。
Finally, modify the legend style by right-clicking the legend and selecting 'Properties' from the context menu. From there, you can customize the legend text, border, symbols, and other settings according to your needs.
(4)导出图形(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学苑