摘要:Origin中分组柱状图可以展示不同组别在多个类别上的比较情况。X轴是类别,每个类别下面包含不同组,Y轴是数值。分组柱状图通常适用于不同时间维度的数据对比(如年份、季度)、不同实验条件下的多组结果对比等。它具有高效比较、清晰直观、节省空间的优势。
分享兴趣,传播快乐,
增长见闻,留下美好!
亲爱的您,这里是LearningYard学苑。
今天小编为大家带来
“颜读(39):Origin学习之绘制分组柱状图”
欢迎您的访问!
Share interest, spread happiness,
increase knowledge, and leave beautiful.
Dear, this is the LearningYard Academy!
Today, the editor brings the
"Yan Du (39): Learning to Group Bar Charts in Origin."
Welcome to visit!
一、思维导图(Mind Mapping)
二、分组柱状图简介(Introduction to grouped bar chart)
Origin中分组柱状图可以展示不同组别在多个类别上的比较情况。X轴是类别,每个类别下面包含不同组,Y轴是数值。分组柱状图通常适用于不同时间维度的数据对比(如年份、季度)、不同实验条件下的多组结果对比等。它具有高效比较、清晰直观、节省空间的优势。
Grouped bar charts in Origin can show how different groups compare across multiple categories. The X-axis represents categories, with each category containing different groups, and the Y-axis represents numerical values. Grouped bar charts are often used to compare data across different timeframes (such as years or quarters) or to compare multiple groups of results under different experimental conditions. They offer efficient comparisons, clear visualization, and space-saving features.
三、绘制步骤(Step-by-step guide to drawing a grouped bar chart)
(1)输入数据(Input data)
打开Origin软件,默认会创建一个新项目并包含一个名为“Book1”的工作簿。在工作簿的A(X)列、B(Y)列、C(Y)、D(Y)列分别输入数据。在下图中,X列代表产品类别,Y列代表销售额。
When you open Origin, a new project is created by default, containing a workbook named "Book1." Enter data into columns A (X), B (Y), C (Y), and D (Y). In the image below, column X represents product categories, and column Y represents sales.
(2)选择图表类型:分组柱状图(Select chart type: Grouped column chart)
设置好列角色之后,选中表格数据,在菜单栏选择“绘图”选项,在基础2D图中选择“柱状图”绘图类型,生成效果如下图所示。
After assigning the column roles, select the worksheet data, navigate to the menu bar, and choose Plot > Basic 2D > Grouped Column Plot. The resulting graph will appear as shown in the figure below.
(3)美化图形(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.
之后调整纵坐标名称为“年销售额”,鼠标右击纵坐标标题,选择“属性”对文本对象进行修改。最后调整横纵坐标刻度线朝向方向,修改填充图案颜色和形状。设置方式是直接在图形中双击调整对象,在绘图细节中修改即可。
Next, change the vertical axis title to "Annual Sales." Right-click the vertical axis title and select "Properties" to modify the text object. Finally, adjust the orientation of the horizontal and vertical axis tick marks and modify the fill pattern color and shape. To set this, simply double-click the adjustment object in the drawing and modify it in the drawing details.
(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!
翻译:Google翻译
参考资料:CSDN博客、deepseek、ChatGPT
本文由LearningYard学苑整理发出,如有侵权请在后台留言!
来源:LearningYard学苑