《Origin绘图教程》PPT课件.ppt

上传人:小飞机 文档编号:5452799 上传时间:2023-07-08 格式:PPT 页数:135 大小:3.43MB
返回 下载 相关 举报
《Origin绘图教程》PPT课件.ppt_第1页
第1页 / 共135页
《Origin绘图教程》PPT课件.ppt_第2页
第2页 / 共135页
《Origin绘图教程》PPT课件.ppt_第3页
第3页 / 共135页
《Origin绘图教程》PPT课件.ppt_第4页
第4页 / 共135页
《Origin绘图教程》PPT课件.ppt_第5页
第5页 / 共135页
点击查看更多>>
资源描述

《《Origin绘图教程》PPT课件.ppt》由会员分享,可在线阅读,更多相关《《Origin绘图教程》PPT课件.ppt(135页珍藏版)》请在三一办公上搜索。

1、数据处理与科学绘图Data Analysis&Scientific Graphing,数据分析绘图工具Origin8.5,Origin 简介,OriginLab公司的产品最新版本为 V9.1 Pro通用的科技绘图和数据分析软件定位于基础级和专业级之间国际科技出版界公认的标准作图软件科学和工程研究人员的必备软件之一主页:,Origin绘制的图形(2D部分),Origin绘制的图形(统计图),Origin绘制的图形(等高线),Origin绘制的图形(3D部分),Origin的主要结构体系(一),表格(Worksheet)数据表操作数据编辑数据的导入导出数据的转换(运算)数据分析相关菜单:Edit,

2、Plot,Column,Analysis,Statistics,Image,Origin的主要结构体系(二),图形处理(Graph)作图(类型选择)图形属性(包括点、线、坐标、图例)数据点的处理(如Read,Mask)曲线的处理曲线分析曲线拟合图层(Layer)与多条曲线的操作相关菜单:Edit,Data,Analysis,Tools,Origin的主要结构体系(三),其它函数图排版(Layout)共享打印编程,数据分析绘图工具 Origin 8.5,1 概述2 数据文件的建立3 数据的编辑4 绘制图形5 图形的编辑和格式化6 Tools工具栏的使用7 数据分析曲线拟合8 Origin图形文件

3、的输出,1 概述,1.1 Origin的主要功能1.2 工作界面1.3 基本操作方法1.4 Origin的启动和退出1.5 Origin文件的保存,1.1 Origin的主要功能,由数据或函数作图,图形的拟合,由数据或函数作图,图形的拟合,1.2 Origin8.5的工作界面(Workspace),工作表窗口,子窗口,工程管理器,图形窗口,1.标题栏 2.菜单栏3.工具栏 工具栏的开启方法4.子窗口 子窗口种类5.工程管理器(Project Explorer):The Project Explorer is a tool to help you organize your Origin pro

4、jects 6.状态栏,Origin8.5的工作界面,工具栏的开启方法:select View:Toolbars from the Origin menu bar.,When a workbook(Excel)is active,select Window:Origin Toolbars.,Toolbars dialog box,返回,子窗口的种类主要有:,The Worksheet Window工作表窗口The Excel Workbook Window Excel 工作表窗口The Graph Window图形窗口 The Function Graph Window 函数图形窗口The L

5、ayout Page Window版面编排窗口Attention:Each child window has its own menu structure,which is displayed when the window is active.,返回,1.使用菜单中的相应命令2.使用工具按钮3.右击鼠标,在弹出的快捷菜单中 选相应命令4.选定对象后双击,打开对话框,1.3 基本操作方法,1.Origin的启动桌面快捷图标“开始”“程序”“OriginLab”OriginPro8.5,1.4 Origin的启动和退出,2.Origin 的退出方法有两种:单击右上角的关闭按扭;单击Origin窗

6、口菜单的“File”“Exit”,注意:要区分Origin的退出和子窗口的退出,Save a project 保存工程Save a child window separately as a file 单独将子窗口作为一个文件保存Save a template as a file 保存为模板文件可保存的文件类型及文件扩展名,1.5 Origin文件的保存,文件类型及文件扩展名(file extension)Project OPJ It cannot save as template GraphWorksheet OGW Template extension is OTWExcel Workboo

7、k XLS It cannot save as template Layout Page OTP It cannot save as file Matrix OGM Template extension is OTM Function Graph OGG Template extension is OTP Notes TXT It cannot save as template,Origin provides several ways to add data to the worksheet 1.Entering data using the keyboard.键盘输入2.Importing

8、a file.导入文件3.Pasting data from another application using the Clipboard.4.Pasting data from another(or the same)Origin worksheet using the Clipboard.(3)和(4)是粘贴数据5.Using Excel Workbook Window.打开或创建Excel工作表6.Using a function to set column values.用函数设置列的值,2 数据文件的建立,导入文件,3 数据的编辑,3.1 工作表简介3.2 工作表的选定操作3.3

9、数据的编辑修改3.4 列的插入、删除及重排3.5 行的插入和删除3.6 删除工作表3.7 格式化数据表(Worksheet),3.1 工作表简介,The worksheet window is organized into vertical columns and horizontal rows.工作表由垂直的列和水平的行组成At the intersection of each column and row is a cell.列与行的交叉处称为单元格Each cell can contain a single numeric,text,numeric and text,date,or ti

10、me value.每个单元格内可包含数、文本、日期、时间等Origin projects can contain multiple worksheets.一个Origin projects中可以包含多个工作表,3.2 工作表的选定操作,1.选定若干单元格(Selecting Cells)Click-and-drag to select the cells.2.选定若干行(Selecting Rows)Select the row heading,drag the mouseOr Select the row heading,Click+SHIFT key 3.选相邻的列(Selecting A

11、djacent Columns)Select the first column heading,Click-and-drag Or Select the column heading,Click+SHIFT key4.选不相邻的列(Selecting Nonadjacent Columns)Select the column heading,+CTRL key,1.数据的修改To change a value,select the cell and type the correct value.(Origin automatically overwrites the value in the

12、cell)替换单元格中的数据,点击该单元格,输入新的值To edit a cell value,press F2 or click at the desired position修改单元格中的数据,点击该单元格后,在拟修改的位置单击鼠标Delete:Delete one value to the right of the cursor,or delete all highlighted values.,3.3 数据的编辑修改,2.在列中插入数据(Inserting Data within a Column),To insert a cell in a column,select the cel

13、l that is directly below where you want to insert the new cell.选定拟插入新单元格下方的单元格 Then select Edit:Insert or right-click select Insert from the shortcut menu.执行编辑菜单中的插入命令 The new cell inserts above the selected cell.新单元格将插在所选定单元格的上方 To insert Row number in a column,Select the Column to Fill Colum withR

14、ow Numbers 在列中输入相应的行号,执行菜单命令ColumnFill Colum withRow Numbers或者,Function and mathematical operator can insert data into a column 用函数和数学计算可以实现对列输入数据。选择菜单命令【Column】【Set Column Values】,或者单击,3.删除数据(Deleting Data),To clear the entire contents of a worksheet,select Edit:Clear Worksheet.删除整个工作表中的内容To delete

15、 the contents of a range of cells from the worksheet,select Edit:Clear.删除单元格或单元格区域中的内容,格子保留To delete a range of cells from the worksheet,select Edit:Delete.内容和单元格同时删除Attention:Delete(1)The Edit:Delete deletes a selected values and cells(2)The keyboard:Delete deletes the worksheet values only.,3.4 列的

16、插入、删除和重排,Adding Columns:增加列Perform one of the following operations:Select Column:Add New Columns.Click the Add New Columns button on the Standard toolbar.Right-click inside the worksheet window but to the right of the worksheet grid.Select Add New Column from the shortcut menu.Inserting Columns:插入列S

17、elect Edit:Insert Right-click select Insert from the shortcut menu.Deleting Columns:删除列Select Edit:Delete Right-click select Delete.Note:To clear the column values but remain the columns,select Edit:Clear.Moving Columns:移动列 Select Column:Move to First.Column:Move to Last.,先选定后操作,3.5 行的插入和删除,Insertin

18、g Rows:插入行select Edit:Insert or right-click and select Insert Deleting Rows:删除行Edit:Delete or right-click and select Delete.,先选定后操作,3.6 删除工作表(Deleting a Worksheet from a Project),To delete a worksheet from the project,perform one of the following operations:Click the Close Window button in the upper

19、-right corner of the worksheet.点击工作表右上方的关闭窗口按扭Right-click on the worksheet window icon in Project Explorer and select Delete Window from the shortcut menu.在工程管理器中右击工作表图标,在快捷菜单中选Delete Window Click on the worksheet window icon in Project Explorer and then press Delete.在工程管理器中点击工作表图标,按Delete 键,作用:1.改变

20、列的名称(Column Name)2.改变列的标识(Plot Designation)3.改变数据的类型(Display)4.改变数的格式(Format)5.改变数的显示格式(Numeric Display)6.改变列宽(Column Width)7.为列标签添加说明(Column Label),3.7 数据表的格式化,方法:双击工作表的列标签 打开Worksheet Column Format,Double click,5.改变数的显示格式(Numeric Display),4.改变数的格式(Format),十进制格式科学记数格式工程记数格式有千位分隔符的十进制格式,默认的十进制显示数据设置

21、小数点的位置设置有效数字的位数,4 绘制图形,4.1 图形窗口中的基本术语4.2 绘图的方法,4.1 图形窗口中的基本术语,Page:Each graph window contains a single editable page.The page serves as a backdrop 页Layer:A movable,sizeable unit 层Frame:The frame is a rectangular box 框架Graph:A graph includes at least three elements:图a set of X,Y,Z coordinate axes,one

22、 or more data plots,associated text and graphic labels.Data Plot:The data plot is the visual display of one or more datasets in a graph window.数据点,4.2 绘图的方法,1.数据表窗口激活时绘图的方法2.图形窗口激活时绘图的方法3.在同一张图上绘制多条线4.绘制双横纵坐标图,1.数据表窗口激活时绘图的方法,选定列或数据范围 select Plot:Graph自动画出图形,基本的二维图形,线图点图点线图多条曲线其它二维图形,2.图形窗口激活时绘图的方法,

23、Adding data using the Layer n dialog box.用层对话框在图形窗口中添加数据 右击层标识This method respects the worksheet column plotting designations.Adding data using the Select Columns for Plotting dialog box.用绘图对话框通过选择数据列在图形窗口中添加数据 右击层标识 This method allows you to disregard worksheet column plotting designations.Adding s

24、elected data from the previously active worksheet.将已经激活的数据表中所选定的数据添加到图形中 Dragging data from the worksheet to the graph.从工作表中拖数据到图形中 Creating data plots using the Draw Data tool.用绘制数据工具在图形窗口中建立新的数据点(点击Draw Data tool 后在图形界面需要绘制点的位置双击),Draw data,3.在同一张图上绘制多条线,方法1:在数据表中同时选定多列数据,然后点击相应的图形工具。方法2:先选定图形,打开绘

25、图对话框 Select Columns Plotting 对话框 进行X、Y等数据的设定。方法3:在已有的图上添加曲线,4.绘制双横纵坐标图,方法1:在数据表中同时选定绘图所需数据,然后点击双横纵坐标图形工具。,方法2:在单坐标图上通过加层(Layer)的方法添加横坐标和(或)纵坐标。,在单坐标图上加层的方法:选择Graph:New Layer,5.在同一页面上绘制多张图,方法:在Graph菜单中选定Merge all Graph Windows对话框确定行数和列数,然后确定图形在页面中的位置,图形观察及数据读取,Draw data,data selector,Data reader,Scre

26、en reader,Zoom Out,Zoom In,Tools工具的功能,Arrow Tool(箭头工具)Line Tool(线工具)Curved Arrow Tool(弯型箭头工具)Text Tool(文本工具)Box Tool(画框工具),Circle Tool(画圆工具)Screen Reader(屏幕读数)Data Reader(显示数据)Data Selector(数据选择)Draw Data(画数据点),在工作表窗口内选中要缩放的曲线所对应的数列。单击“2D Graphs Extend”工具栏上的“Zoom”命令用鼠标移动矩形框,屏蔽工具,The Mask toolbar(Vie

27、w:Toolbars)allows you to exclude ranges of data or individual data points from analysis.It is most useful if you want to analyze only a specific section of your data,or if you have erroneous data points that you do not want included in your analysis.The Mask toolbar is available for both worksheet a

28、nd graph windows.,在工作表中选取要屏蔽的数据单元格,单击“Mask Range”按钮,单击“Disable/Enable Masking”按钮,屏蔽功能有效或失效。屏蔽图形中某点数据单击”Mask Point Toggle“按钮,激活数据点读取工具,在图形中双击想要屏蔽的数据点,重复上述方法可解除对已屏蔽数据点的屏蔽。屏蔽图形中某段数据单击“Mask Range”按钮,用Ctrl+方向键,按回车键。解除方法为单击“Unmask Range”。“Swap Mask”按钮 的功能是解除屏蔽数据。“Hide/Show Mask Point”按钮 使已屏蔽的数据重新显示。,数据菜单,

29、5 图形的编辑和格式化,1.坐标轴的格式化2.坐标说明文本的格式化3.数据点和线的格式化4.添加文本框,坐标的格式化:通过以下方法之一打开坐标格式化对话框 1.双击坐标轴,2.右击坐标轴快捷菜单中选相应命令,3.选Format菜单中的相应命令,坐标格式化对话框,由红箭头所指处,可以直观了解该选项的内容,坐标说明文本的格式化:用下述方法之一打开文本控制对话框,1.右击坐标说明文本快捷菜单中选相应命令,2.选Format菜单中的相应命令,坐标说明文本控制对话框,用于输入希腊字母,数据点和线的格式化:用下述方法之一打开绘图细节对话框 1.双击点或线,2.右击点或线快捷菜单中选相应命令,3.选Form

30、at菜单中的相应命令,绘图细节对话框,绘图类型,线,点,分度线,多层图形的绘制,图层(Layer)的基本概念,什么图层由一组坐标轴组成的对象图层的选择点击图层标记可选择具体的图层选定后所有的操作将对当前图层进行使用 View Show Layer Icons 隐藏为什么要多图层在同一图形窗口绘制多个图形用不同单位显示同一组数据,图层细节,Layer Properties,多层图图形模板,图层模板库,左右对开,上下对开,四屏图,自定义多层模板,排列和定制图层,方法:在Edit菜单中选定Add&Arrange Layers对话框确定行数和列数,然后确定图形在页面中的位置,选择EditAdd&Arr

31、ange Layers-将行数改为2-OK选中Layer3,右键单击图形页面外的灰色区域-New Layer(linked):Right Y,在新图层中添加数据,右键单击(or左键双击)绘图窗口左上角的Layer3-Layer Contents,关联坐标轴,目的:关联各图层Layer Properties(或者选中操作的窗口双击)-Link Axes Scale-“X axes Link内选择“Straight(1 to 1)”,定制图例(Legend),图形中曲线进行说明的部分。通过使用内嵌的文本格式开关“L()”确定图例中数据曲线的线形。右键单击“Potential 2(mv)”-Prop

32、erties-Text control,单图层数据提取,从图形窗口中的单图层中提取数据,绘制在不同的图层。打开一个由多组数据的曲线图单图层窗口单击绘图工具栏中提起按钮,打开Total Number of Layers,图轴的绘制,在2D图形坐标插入断点,双击图形窗口需要设置断点的坐标轴-Axis-Break选中“Show Break”-From x1 to x2设置断点的起止位置。,调整坐标轴的位置,分类数据图,分类数据图是将不同种类的数据或非数值数据用图形进行表示。,选取前两列的数据,点击PlotScatter绘制散点图,双击数据点,对数据点选择合适的分类标准,在Symbol选项卡中,点击S

33、ymbolColor的下拉菜单,选择IndexingCol(Gender),根据性别Gender来填充数据点的颜色。在Symbol选项卡中,点击勾选CostumConstruction,在Shape选项中,选择Col(Drug),根据药物种类绘制数据点的形状。删除原图例,然后在坐标轴范围内点击鼠标右键,然后在弹出的菜单里选择EnhancedLegend。,例题:Graphing 文件夹中Categorical Data.dat 文件数据,绘制二维瀑布(Waterfall)图,二维瀑布图将多条曲线在单个图层上按前后顺序排列并将它们向右上方做适当的错位,以便清晰地显示各曲线细微差别,特别适合绘制多

34、条包含多个峰又极其相似的曲线图形。数据要求:包含多个数值型Y 列。例题:Graphing 文件夹中Waterfall.dat 文件数据,选中n 个Y 列(也可以选中所有Y 列)。单击菜单命令【Plot】【Multi-Curve】【Waterfall】或2D Graphs 工具栏的【Waterfall】按钮,绘制含数据标签(Label)图,如果需要在图形数据上加注标签(如数值或其他标识等),则需要绘制含数据标签图形。数据要求:用于作图的数据包含Y 列。绘图步骤:选中某列将其设置为Y列选中X、Y 两列,做出理想的图形;双击数据点,打开Plot details Label tick Enable,绘

35、制Y 对Y 图,利用Origin 内置的图形模板绘图时,只能绘制Y 列对X 列(无X 列时则对行序号)的图形,不能绘制Y 列对Y 列的图形,而利用【Plot Setup】则可以绘制任意Y 列对Y 列的图形。数据准备如下:创建一个包含三个列(XYY)的工作表。,绘图步骤如下:打开【Plot Setup】对话框,将【Plot Type】设为 Line。将曲线1设置为A(X)-B(Y),然后单击【Add】按钮。依次将曲线2和3 设为A(X)-C(Y)和B(X)-C(Y)井添加到列表框,设置完成后的列表框如图,勾选【Rescale】,然后单击【OK】按钮,绘制完成。,数据处理与统计,Simple Ma

36、th,Performing Math Operations To perform a math operation on or between two data sets,select Analysis:Simple Math.This menu command opens the Math on/between Dataset dialog box.Note that the Analysis:Simple Math menu command is only available when a graph window is active.When the worksheet is activ

37、e,similar results can be obtained by selecting Column:Set Column Values.,多条曲线平均Averaging Multiple Curves,To calculate the average Y value for all data plots in the active layer at each X coordinate of the active data plot,select Analysis:Average Multiple Curves.The result is saved as a new data set(

38、in a new Average#hidden worksheet)and plotted in the active layer.,数据平滑,插值和外推,To interpolate or extrapolate between the data points of the active data plot,select Analysis:Inter/Extrapolate.This menu command is only available when a graph is active.The menu command opens the Make Interpolated Curve

39、from Dataset dialog box.,由特定X 列插值/外推,示例准备如下。导入Mathematics 文件夹中的Interpolation.dat 文件数据。将C 列类型设置为X(也可不设置),插值/外推步骤如下。设置Interpolation 工作簿为活动窗口,并选中B 列。单击菜单命令【Analysis】【Mathematics】【Interpolate/Extrapolate Y form X】打开【Mathematics:interpl】对话框。,单击位于【X Values to Interpolate】右端的子菜单按钮,然后选择 C(Y),,选择插值/外推方法,并设定重

40、计算模式。最后单击【OK】按钮应用插值,,统计分析,直方统计图,1 Highlight column B and create a histogram plot using Plot-StatisticalGraphs-Histogram from the menu.2 Right-click on the graph window and select Plot Details from the menu.3 Click on the Data tab and choose Normal from the drop-down list for Curve Type text box.Clic

41、k OK.,方框统计图,Creating Box Charts To create a box chart,highlight one or more Y worksheet columns(or a range from one or more Y columns)and select Plot:Statistical Graphs:Box Chart.,Customizing the Box Chart,To customize the box chart display,double-click on the box chart,or right-click and select Plo

42、t Details.,打开Plot Details Group:去掉对“Border Color”复选框的选定,则各方框颜色相同 Pattern:把”border“组内的”Color“设为红色,把”Fill“组内的设为Light Gray Line:把”Color“设为Black,QC 控制图,QC charts are used to study the fluctuation of data in a continuous process.To create a QC chart,highlight at least one column of values(or a range from

43、 at least one column)and select Plot:Statistical Graphs:QC(X bar R)Chart.,7 数据分析曲线拟合,在图形窗口下进行拟合 的方法:选菜单Analysis,线性拟合 y=A+Bx,多项式拟合 y=A+B1x+B2x2+,指数衰减拟合,指数增长拟合 y=y0+A ex/t,也称Boltzman拟合,高斯拟合,洛沦兹拟合,多峰拟合,非线性曲线拟合,y=y0+A1 e-x/t1 y=y0+A1 e-x/t1+A2 e-x/t 2y=y0+A1 e-x/t1+A2 e-x/t 2+A3 e-x/t 3,线性拟合结果中各参数的含义,A:

44、Intercept value and its standard error.截距值及它的标准误差B:Slope value and its standard error.斜率值及它的标准误差R:Correlation coefficient.相关系数p:value-Probability(that R is zero).R=0的概率N:Number of data points.数据点个数SD:Standard deviation of the fit.拟合的标准偏差,多项式拟合,S曲线拟合,非线性拟合向导,自定义拟合函数,选择菜单命令Analysis-Non-linear Curve Fi

45、t-Advanced Fitting TooL-Function-New,8 Origin图形文件的输出,设置复制后页面的比率方法:选Tools菜单中的Options,打开对话框设置图形尺寸方法:选Format菜单中的Page,打开对话框复制图形方法:选Edit菜单中的Copy Page在其它应用程序中粘贴,选项对话框(Options),页面对话框(Page),尺寸,END,9 Origin综合应用举例,二维多轴系图绘制举例,1)Select columns B,C and create a scatter plot.2)Double-click on the X-axis to open t

46、he axis dialog box;Click on the Scale tab and set the scale from-20 to 20.Set Rescale to Manual.Select the Vertical icon on the left panel(for the Y axis)and set the scale from 0 to 16.Set rescale to Manual.Click OK.3)Double-click on the Y-axis.Select the Grid Lines tab,makethe Horizontal icon in th

47、e Selection box is selected,and check X=0.Select the Vertical icon in the Selection box and under Additional Lines,check Opposite.4)Choose the menu option Edit:New Layer(Axes):(Linked):Top X+Right Y.5)Single-click on the Layer 1 icon in upper left corner of the graph(this activates the layer contain

48、ing the plotted data)and then right-click inside the graph axes,choose Plot Details,and click on Layer 2 in the left side of the dialog box.Select the Size/Speed tab and set Left=50,Top=0,Width=50,and Height=100.Click Apply.6)On the Display tab,make sure Clip Data to Frame is checked.7)Right-click o

49、n Layer 2 icon(upper left corner of graph)and select Layer Contents in short cut menu and add mag_d to the Layer Contents8)Double-click on top X-axis and set X and Y scales from 0 to 40,and from 0 to 16,respectively.Double-click on bottom X-axis and set X and Y scales from-20 to 20,and from 0 to 16.Click OK.,从图中提取数据,如何从下面发表文章中的图提取数据,1.点击“Digitize”按钮2.Paste your image into this graph window.3.Name the object Image1 and attach it to the page.4.Click the Digitize.button.,

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号