11 GraphingGraphing
Creating a Graph
Graphs can be created from both hard data and from mathematical functions. With Origin, you can create over 100 graph types using Origin's builtin graph templates. Each of these graphs has been specifically chosen for its applications in various technical fields.
All graph types are accessible from the Plot menu. Note that while most graph types also have a corresponding 2D Graphs or 3D and Contour Graphs toolbar button, some do not. Until you've had time to familiarize yourself with available toolbar buttons, the Plot menu should be your "go to" place for creating graphs.
Creating most graphs involves just two steps.
 Select your data.
 Select the plot type.
Some Origin graph types have very specific data requirements. Other graphs can be created from multiple data arrangements. See the Origin Graph Types section for specific requirements.
Creating Graphs from Worksheet Data
Graphs, Creating
Origin's most generic graph types  line, column/bar, pie  plus a lot of the more specialized types, are created from worksheet data. The following quick tutorial demonstrates importing an ASCII data file and creating a simple graph.

Tutorial: One click to create graph with selected data
 Open a new workbook and select File: Import: Single ASCII... from the main menu.
 Choose the file Samples/Curve Fitting/Multiple Gaussians.dat and click Open.
 Now highlight columns B(Y), C(Y), D(Y) and E(Y) by clicking and dragging across the four column headings.
 Click Plot > 2D: Line & Symbol: Line & Symbol. A graph window is created with four line and symbol plots. Note that the plots differ by line color and by symbol type.
 Return to the worksheet, and again select columns B(Y), C(Y), D(Y) and E(Y).
 This time, select the Plot > 2D: MultiPanel: 4 Panel menu item. Note that a very different plot is created using the same datasets.

We were able to quickly create two different graphs using the same data. The chapter Customizing Graphs discusses customizing graphs and saving templates in more depth.
We are also able to create 3D plot types from worksheet data. The following tutorial demonstrates creating a 3D surface plot, then overlaying it with a 3D scatter plot.

Tutorial: 3D Surface Plot from XYZ Data
 Create a new, empty workbook window and import the file \Samples\Matrix Conversion and Gridding\XYZ Random Gaussian.dat.
 Highlight column C and right click. Select Set As: Z from the flyout menu.
 Select Plot > 3D: Surface: 3D Colormap Surface to create a 3D Colormap Surface plot.
 Select the Graph: Layer Contents... menu item or right click the layer icon on the lefttop of the graph to open the Layer Contents dialog. In this dialog, click on dropdown next to the button and select 3D Scatter/Trajectory/Vector from the flyout menu.
 Select column C from the left panel and click on the Add Plot button to add the 3D scatter plot to the graph. Click OK to close the dialog.
 Doubleclick on the plot to open the Plot Details dialog. In the left panel, expand the Layer1 node and then expand the 2nd node which represents the scatter plot. Click and select the branch named Original. Be sure to leave the nodelevel check box selected, otherwise this plot will be hidden.
 In the Symbol tab on the right side, set Shape to Ball, Size to 12 and Color to Color Mapping: Col(C).
 In the Drop Lines tab, clear the Parallel to Z Axis check box.
 Select Layer1 from the left panel of the Plot Details dialog. In the Lighting tab, under Mode, select Directional. Click OK to close the dialog.
 Click on the scatter plot in the graph to select this plot, then in the Style toolbar, click on the button and select the Rainbow palette.
Your graph should look like this:
:

 You can hold down the R key on your keyboard and use the mouse to freely rotate the surface. With the pointer tool active, click on the layer for additional controls to move, stretch and rotate the surface.

Worksheet Column Plot Designations
Worksheet Plot DesignationsColumn Plot DesignationsPlot Designation
The labels (X), (Y), (Z), etc. in column headings are referred to as the Column Plot Designation. Columns can also be designated as Label, Disregard, Y Error or X Error. Each plot type has its own data requirements and these work in concert with settings saved in the graph template, to quickly create a graph.
To set the Column Plot Designation, select a column or multiple columns, then from the menu choose Column: Set as:<option> or right click and choose an option from the Set As: context menu.
In the 1st tutorial above, we plotted 2D graphs, which require Y data. The Y data were automatically plotted against the X column data to their left. In 2nd tutorial, we plotted a 3D graph from Z data. The Z data were plotted against X and Y data columns to the left of the Z data column.
Selecting Worksheet Data
Selecting Data, WorksheetRange, Worksheet DataData RangeSelecting Data, for PlottingGraphing Worksheet DataPlotting Worksheet Data
There are a number of ways to select data for plotting:
 Single column: Click on the column heading, e.g. B(Y)
 Multiple columns: To select a small number of contiguous columns, click on the first column heading and drag the pointer to the last column heading. To select a large number of contiguous columns, click on the first column heading, use the scroll bar at the bottom of the worksheet to locate the last column, then press the SHIFT key and click on the last column heading. To select noncontiguous columns, press the CTRL key while clicking on the desired column heading.
 A range in a column: Click on the first cell of the range and drag to the last cell of the range.
 Multiple ranges within a column: Select one range. Press the CTRL key while selecting each range. When plotting, each range will be treated as a separate data plot in a plot group.
 Ranges across multiple columns: If cells are contiguous, click on the first cell and drag to the last cell. If cells are not contiguous, press the CTRL key while selecting each range. Each range selection will be treated as a separate data plot in a plot group.
 Range(s) across all columns: Click on the first row heading and drag to the last row heading, to select multiple rows. This will select data in all columns in the worksheet. Press the CTRL key while selecting row headings for noncontiguous rows. Each range selection will be treated as a separate data plot in a plot group.
 Entire worksheet: Press CTRL+A to select the entire worksheet; or mouse over the bottomright corner of the blank cell in the upperleft corner of the worksheet. When the pointer becomes a downwardpointing arrow, click to select the entire worksheet.
 Specific columns: To select columns by data in column label rows (header rows); or to select columns using a pattern, choose Edit: Select.
Creating a Graph from Matrix Data
Plotting Matrix DataGraphing Matrix Data
As discussed in the Matrix Book, Matrix Sheets and Matrix Objects chapter, a matrix is a dataset of Z values arranged as an array of columns and rows which are linearly mapped to X (column) and Y (row) values. Matrix data is used to create 3D, contour and heatmap graphs  all of which require require "3D" data. In earlier versions of Origin you had to have your data in a matrix to create such plot types but this is no longer the case (see discussion of the Virtual Matrix below). A few graph types such as a colorfilled surface with error bars still require matrix data.
Note, however, that there are still many situations in which you will be creating 3D plots from matrix data. If you have data in worksheet form and you need to convert it into a matrix form, see Converting Worksheets to Matrixes.
Once your data are in a matrix form, plotting matrix data is simple: activate the matrix window then select your plot type using a Plot menu command or corresponding 3D and Contour Graphs toolbar button. Note that you cannot select a portion of the matrix when plotting 3D graphs. You can, however, choose a subset of the data plot to display once the graph is created. See Editing Plot Range in the Manipulating Data Plots section of this chapter.
The Virtual Matrix
The Virtual Matrix concept was covered in the Matrix Book, Matrix Sheet and Matrix Object chapter of this Guide. To recap, a virtual matrix is block of worksheet cells which contain Z values, with X and Y coordinates in the first row or column label row, and column. X and Y coordinates don't have to be evenly spaced and can even be in the form of text or date/time data. Graphing Virtual Matrix DataPlotting Virtual Matrix Data
When selecting and plotting virtual matrix data to 3D, Contour and Heatmap graph types, Column Plot Designations are ignored and a dialog box is opened where you designate your X and Y coordinates. The intersecting data points are then treated as Z values.

Tutorial: Contour Plot from Virtual Matrix
 With a new workbook active, use the File: Import: Import Wizard... menu to open the Import Wizard dialog.
 Press the browse button in the dialog and select the file Waterfall.dat from the Samples\Graphing subfolder.
 This file has an import filter already associated with it. Press the Finish button to import the file.
 With the workbook active, press CTRL+A to select the entire sheet.
 Now select the Plot > 2D: Contour: Contour  Color Fill menu item. The plotvm dialog will open.
 In the dialog, set the Y Values in dropdown to Column Label, and then set the Column Label dropdown to Excitation Wavelength(nm).
 Set the X Values in dropdown to 1st column in selection, then press OK to close this dialog.
 The contour plot will be created.
 Use the Graph: Speed Mode... menu item, then in the dialog that opens, set the Speed Mode dropdown to Off and press OK. This will turn off speed mode so that all data points are plotted (see the discussion of Speed Mode, below).
 Click on the contour plot to select this data plot, then from the Style toolbar, click the Palette button and then select the Pumpkin Patch palette. Your graph should look similar to the image below:

 Once you customize your contour levels and colors, you can save your settings as a Theme, or simply copypaste your customizations from one graph to another. To save a Theme, rightclick on the graph and choose Save Format as Theme; or use the Colormap Theme controls on the Colormap/Contours tab of the Plot Details dialog box.

2D and 3D Function Plots
Graphs, Function
Plotting FunctionsGraphing, Functions
Function Plots, 2D and 3D
Parametric Function Plots, 2D and 3D
To create function plots and parametric function plots, select File: New: Function Plot menu. There are four options to choose from:
Type

Function Form

2D Function Plot

y = f(x)

2D Parametric Function Plot

x = f1(t) y = f2(t)

3D Function Plot

z = f(x, y)

3D Parametric Function Plot

x = f1(u, v) y = f2(u, v) z = f3(u, v)

These plot types are also accessible from the function plot buttons on the Standard toolbar.

Tutorial: 3D Function and 3D Parametric Function in Same Layer
 From the menu, choose File: New: Function Plot: 3D Parametric Function Plot...
 In the dialog that opens, click on the arrow button at the top right side of the dialog, and from the flyout menu select the builtin example Partial Torus (System) and press OK to close the dialog. The function plot will be created.
 With the function plot window active, invoke the menu File: New: Function Plot: 3D Function Plot....
 In the dialog that opens, enter 5 and 5 for the From and To edit boxes for x and y scale.
 In the Z(x,y) edit box, enter 0.
 Set the dropdown at the bottom left corner of the dialog to Add to Active Graph and press OK to close dialog.
 The Z=0 plane will be added to the graph, and the plane will properly intersect the parametric surface plot. You can hold down the R key and use the mouse to freely rotate the plot.

  Some function plot dialogs provide sample formulas. Click the arrow button beside Theme at the top of the dialog box to access them. You can download more examples at http://originlab.com/3dfunctions.
 For 2D parametric, 3D, and 3D parametric function plots, data is generated when the function plot is created. To create data for 2D function plots, rightclick the plot and choose Make dataset copy of Function or if on the Function tab in Plot Details, click the Workbook button.
 Besides function plots, you can also create graphs with all builtin and userdefined nonlinear curvefitting or surfacefitting functions. From the menu, choose Analysis: Fitting: Simulate Curve... or Simulate Surface.... You can even add noise to the plot. Corresponding data is created as well.

Plotting without Using Column Plot Designations
Column Plot DesignationsPlot DesignationWorksheet Plot Designations
While Column Plot Designations remain an important concept, they are no longer required by many Origin graphing and analysis operations. The Plot Setup dialog box allows you to freely specify which column is used as X, Y, etc. when plotting, thereby overriding the Column Plot Designations.
In order to make full use of the Plot Setup dialog box, you need to have some familiarity with the hierarchy of objects contained in the Origin graph window.
Graph Page
Graph Layer
Graph Layer Frame
Layers, Graph
Page, Graph
Pages, Layers, Plots and the Active Plot
Graph PageGraph LayerActive LayerLayer Icon, Graph
Each Origin graph window is comprised of a single, editable graph page. The graph page is defined by the white area inside the graph window. Anything that lies outside the page is not printed or exported. By default, the dimensions of the graph page are defined by the printable area of your default printer driver; without adjusting settings, a printed graph should fill the printed page.
The graph page must contain at least one, and may contain as many as 1024, graph layers. In turn, each graph layer generally contains one or more data plots (graphical depictions of datasets). Note that the graph in the image above contains three graph layers, represented by the three nonprinting layer icons in the upperleft corner of the graph page. Note that there is one layer icon which is highlighted, indicating the active layer. Just as there is only one active layer, there is only one active plot in a graph. Usually, the active plot is the first plot in the active layer. To verify which plot is active, click on the Data menu while the graph is active. The active plot will have a check mark beside it.
The hierarchical structure of the graph page can be seen in these places:
 The Plot Details Dialog Box (Format: Page Properties ...)Plot Details Dialog Box
 The Object Manager (View: Object Manager)Object Manager
 The Plot Setup Dialog Box (Graph: Plot Setup...)Plot Setup Dialog Box
The Plot Setup Dialog Box
The Plot Setup dialog box is a flexible allinone plotting tool for creating graphs and manipulating the data plots in an existing graph.Plot Setup Dialog Box
 Creating graphs without regard to Column Plot Designations
 Creating graphs from a combination of data sources: multiple worksheets, workbooks, matrix books, loose datasets, etc.
 Creating graphs combining multiple plot types.
 Adding, removing, replacing data plots.
 Grouping or ungrouping data plots.
 Reordering data plots in a layer or moving data plots to another layer.
To create a graph with the Plot Setup dialog, make sure no data is selected in the active worksheet and choose the plot type.
To open the Plot Setup dialog for an existing graph window, rightclick on any layer icon in the upper left corner of the graph window and select Plot Setup..., or choose menu Graph: Plot Setup....

Tutorial: Creating a Simple Line Plot with the Plot Setup Dialog Box
 Click the New Workbook button on the Standard toolbar.
 Click File: Import: Single ASCII, browse to the Origin installation folder and import the file \Samples\Curve Fitting\Step01.dat. Starting from column B, columns are actually paired  X data and Y data  but by default all columns are assigned a "Y" Column Plot Designation on import.
 Without selecting any data, click Plot > 2D: Line: Line. This opens the Plot Setup dialog box.
 Click the two "doublearrow" buttons to show all three dialog box panels.
 In the middle panel, select the "X" box for Column B (Sensor Ax) and the "Y" box for Column C (Sensor Ay), then click the Add button to add the plot to Layer 1 in the bottom panel.
 Select the "X" box for column D (Sensor Bx) and the "Y" box for Column E (Sensor By), then click Add.
 Select the "X" box for column F (Sensor Cx) and the "Y" box for Column G (Sensor Cy), then click Add. Three plots are added to Layer 1.
 Press CTRL and click on each plot in the bottom panel to select all three, then rightclick and choose Group.
 Click OK to create a grouped line plot.


Tutorial: Creating a Graph with Data from Multiple Worksheets
 Click the New Workbook button on the Standard toolbar.
 Click File: Import: Multiple ASCII, browse to the Origin installation folder and select Sensor01.dat, Sensor02.dat and Sensor03.dat under \Samples\Curve Fitting\ to import. After Import, 3 workbooks are created.
 Without selecting any data, click Plot > 2D: Line+Symbol: Line+Symbol. This opens the Plot Setup dialog box.
 Expand the top panel if it is hidden. From the Available Data list, choose Worksheets in Folder.
 Select Sensor01, Sensor02 and Sensor03 sheets in the top panel.
 In the middle panel, select the "X" box for Column A (Displacement) and the "Y" box for Column B (Sensor Output), then click the Add button.
 Click OK to create a grouped Line+Symbol plot using Sensor Output columns from 3 worksheets.

  The Plot Setup middle panel only allows choosing one X column at a time.
 If your worksheet is set up with the correct Column Plot Designations (e.g. XYXY) but you only want columns with same Long Name, click the toggle in the upperright corner of middle panel so that only plottable columns show (e.g. for 2D plot types, X columns are not shown). Then you can sort the columns and select all columns with same Long Name and plot them together. The Y columns will be plotted against corresponding X columns.
 To change a data plot's type, choose the corresponding plot in bottom panel. Corresponding X and Y columns will show in middle panel. Choose a new plot type in middle panel and click the Replace button.
 All data plots in a group share the same plot type. If you want to change the plot type of a single plot in a group, rightclick the Group node in bottom panel and Ungroup first.
 Drag and drop data plots to move them to different layers.
 If the bottom panel is hidden and you have selected columns in the middle panel, you can directly click the OK button to create your graph.

Manipulating Data Plots
The following sections discuss higher level modifications to existing graphs such as changing plot type, adding or removing plots from the layer and controlling the density of plotted points (Speed Mode). For more detailed plot customizations, including those involving such things as changing plot symbols, colors, and legend customizations, see the Customizing Graphs chapter.
 The following methods of manipulating data plots in the graph window are fairly easy to use. Thus, you may want to choose File: Open Template and pick your template to create a blank graph window. Then, using the methods below you can add and group data plots in the graph.

Changing Plot Type
Plot Type, ChangingPlots, Exchanging
Some Origin plot types (e.g. scatter, line, line+symbol) allow you to interchange the plot type of an existing plot with a few other select plot types. Some examples:
 Scatter, line, line+symbol, column/bar are interchangeable.
 3D scatter/trajectory/vector, 3D bars, 3D surface are interchangeable.
To change the plot type of an existing plot:
 Rightclick on the data plot and choose Change Plot to: Graph Type from the shortcut menu.
 Click on the data plot and choose Format: Plot Properties and in Plot Details choose from the Plot Type dropdown list.
 Click on the data plot, then click one of the supported graph toolbar buttons.
Note that if you switch plot types and the selected plot is part of a plot group, all plots in the group are switched.
Exchanging Data Plots
Plots, Adding/Removing/HidingPlot DesignationWorksheet Plot DesignationsColumn Plot Designations
You can quickly change the data source (X, Y, or worksheet) of a plot using these context menu commands. Rightclick on a data plot, then select one of these options:
 Change X. This menu item allows you to change the assignment of X data to another data column in the same worksheet.
 Change Y. This menu item allows you to change the assignment of Y data to another data column in the same worksheet.
 Change Worksheet. This menu item allows you to replace both X and Y with data from another worksheet. The selected worksheet should have the same Short Names, the same Column Plot Designations and the same row index range as the current worksheet.
 If you have a grouped data plot, then clicking once on any of the plots in the group will select the entire group. Click a second time to select a particular member of the group. The context menu options to change worksheet, X, or Y are available only when a single data plot is selected.


Tutorial: Changing X and Y assignment of a data plot
 Start with a new workbook and import the file automobile.dat from the Samples\Statistics subfolder of the Origin installation folder.
 Select the Gas Mileage column and select the Plot: Symbol: Scatter menu item. The Gas Mileage column is plotted against the default X column Year.
 Rightclick on the data plot and select Change X: Engine Displacement. The Gas Mileage column is now plotted against Engine Displacement.

Note: If new data is significantly outside of the current range for X or Y axes, you will be asked if the graph should be rescaled. If data are not significantly different, you may want to manually rescale the graph (Hot key: CTRL+R).

 If you perform analysis on the data plot (e.g. linear regression with Recalculate set to Auto), the fit results will automatically update when you change X/Y or the worksheet.

Adding, Removing and Hiding Data Plots
Graphs, Adding or Removing Plots
Use the following methods to add or remove data plots from a graph.
Adding Data with the Add Plot to Layer Menu Command
This is a simple method for adding a range of data to an existing Line, Scatter, Line + Symbol, Column or Area graph:
Graphs, Add Plot to LayerAdd Plot to Layer
 Highlight your worksheet data.
 Go to the graph window where you want to add data. If there are multiple layers in the graph, press the layer icon to activate the desired layer.
 From the menu, choose Graph: Add Plot to Layer: Graph Type.
  You can use the Graph: Add Error Bars... menu item to add error bars, calculated from statistics such as standard deviation.
 Error data will be output beside the data column in the worksheet. This only works for the active plot. You can set the active plot from the Data menu. The active plot has a check mark beside it.

Adding Data by Drag and Drop
Graphs, Add Data by Drag and DropDrag and Drop Plotting
You can add data to a graph by drag and drop. When using this method, Origin relies on worksheet Column Plot Designations to create the plot.
 Select the worksheet data (one or more columns or a range of one or more columns).
 Move the mouse over the left or right edge of the selected range.
 When the pointer looks like this , hold down the left mouse button and drag the data to the graph window. Release the mouse.
 If there are multiple layers in the graph, drag the data to the desired layer, then release the mouse.
 Usually the current plot type is used when plotting by draganddrop. To change the global plot type to use when drag and drop, choose Tools: Options... from the main menu. Go to the Graph tab and change the global Drag and Drop plot type.

Adding and Removing Data with the Layer Contents Dialog Box
Graphs, Layer Contents Dialog Box Layer Contents Dialog Box
Open the Layer Contents dialog box by doubleclicking or rightclicking on the layer icon(s) in the top left corner of the graph page. Controls in the left panel can be used to filter and list available datasets. The right panel lists datasets that are plotted in the active layer.
Controls in the center of the dialog box allow you to add or remove plots from the active graph layer. When adding data to the graph, click the list button (downwardpointing arrow) to preselect the plot type before adding data to the layer. Use controls in the right panel to group or ungroup plots, or reorder plots in the layer.
Adding, Removing, Replacing or Hiding Data Plots with the Plot Setup Dialog Box
Plots, Adding/Removing/HidingPlot Setup Dialog Box
Among other things, the Plot Setup dialog box can be used to add or remove data plots from the graph.
 To add plots to the graph, use the top panel of Plot Setup to identify your source data.
 Use the controls in the middle panel to specify the plot type and how the data selection should be treated (as X, Y, yError or Label).
 In the bottom panel, choose the Layer to which you want to add plots, then click the Add button.
 To remove a plot from the layer, select the plot in the bottom panel, then rightclick and choose Remove.
 To hide a plot, uncheck the Show check box for the plot.
 To replace a plot, select the plot in bottom panel, then change the X and Y selection and plot type in middle panel and click the Replace button.
Adding Data by Direct ASCII Import
Graphs, Direct ASCII ImportASCII Data, Import to Graph
You can import ASCII files directly into the active graph window using the the Import ASCII toolbar button. Note that this method works only with files having a simple structure and it supports only the simplest of graph types  Line, Scatter, Line + Symbol, Column and Bar charts.
 Click the Import ASCII button. This opens the Import ASCII dialog box.
 Choose a file.
 Click Open.
The file is imported and plotted in the active graph window.
Adding Data by Copying and Pasting a Plot
You can copy a plot from an existing graph window and paste it into the same or another window.
 Click on the plot to select it and press CTRL+C.
 Click on the target graph and press CTRL+V.
Simultaneously, a ClipbN worksheet is created. You can open this worksheet by doubleclicking on the plot, then clicking the Workbook button at the bottom of Plot Details; or rightclick on the plot in the graph window or in the Object Manager and choose Create worksheet ClipbN.
 You can also "paste" a copied plot to a worksheet cell. Select a cell and press CTRL+V to fill the column(s) with plot data.

Removing or Hiding Plots with the Object Manager
Object Manager
The Object Manager is a dockable panel that allows for easy manipulation of graph layers and data plots. See the section on The Object Manager in this Guide.
To hide or remove plots, rightclick on a plot and choose from the shortcut menu:
 To show or hide plots of the same Long Name.
 Show all plots.
 Remove a plot from the graph window (not the same as hiding).
  When you rightclick on a plot, there is a Remove shortcut menu item. If the plot is part of a group, the entire group will be removed.
 When you rightclick on a plot, you can use the Hide Data Plot and Hide Others shortcut menu items to quickly hide selected plots (restore plots by enabling their display in the Object Manager or in Plot Details).

Removing or Hiding Data with Plot Details
In the left panel of the Plot Details dialog box (Format: Plot Properties), rightclick on a plot and choose Remove or Hide from the context menu. Remove will delete the data plot from the graph so if you just want to temporarily hide a plot, choose Hide. Neither of them will delete data from worksheet or matrix.
Deleting Plots using the Delete Key
Click on a data plot (either in the graph window or Object Manager) and press the Delete key. If the selected plot is part of a group, the entire group is deleted. This action does not delete worksheet or matrix data. To restore the deleted plots, choose Edit: Undo Remove Plot from the main menu.
Editing Plot Range
Once a graph is made, you can edit the plot display range, specifying only a portion of the plotted data:
 Rightclick on the plot and choose the Edit Range... shortcut menu command. Edit the From and To values.
 In the right panel of the Layer Contents dialog box (Graph: Layer Contents), turn on the Range column by rightclicking on the column headings and choosing Range. Click on a plot's range values, then click the ... button that appears to the right side of that column.
 In the bottom panel of Plot Setup (Graph: Plot Setup), Click on the plot range in the Range column and click ... button that appears to the right side of that column.
 Choose Graph: Rescale to Show All menu to rescale the graph after editing plot range.

Grouping Data Plots
Graphs, Grouping PlotsGrouping Plots
When you make multiple range or column selections, then create a graph, Origin groups the resulting data plots in the graph layer. This applies to most 1D (statistical) and 2D graphs, plus 3D XYY (XYY 3D bar, 3D ribbon, 3D wall, and 3D waterfall plots) and 3D XYZ (3D scatter, 3D bar) graphs.
Grouping provides for quick creation of presentationready graphs because each plot in the group is assigned a differentiating set of plot attributes (line color = black, red, green...; symbol shape = square, circle, triangle...; etc.). Assignments are made by cycling through a predetermined (usermodifiable) increment list of styles. For instance, the first plot of a grouped line plots might be denoted by a black line; the second plot might be denoted by a red line (the second color in the color list), the third plot by a green line (the third color in the color list), and so on.

Tutorial: Grouping (or ungrouping) plots manually
 Via the Layer Contents dialog boxLayer Contents Dialog Box
 To open the Layer Contents dialog box, doubleclick on the layer n icon in upperleft corner of the graph window.
 To create a group, select the desired data sets from the Layer Contents list (use CTRL + select, SHIFT + select, or simply drag the mouse to select multiple data sets).
 Click Group. Note that each plot in Layer Contents is now preceded by a gn (for "group1", "group2", etc.).
 To ungroup, click on one of the grouped data plots in the Layer Contents list and click Ungroup.
 Via the Plot Setup dialog boxPlot Setup Dialog Box
 To open the Plot Setup dialog box, ALT + doubleclick on the layer n icon in upperleft corner of the graph window.
 To create a group, select the desired plots from the Plot List (use the CTRL or SHIFT keys to select multiple data sets).
 Rightclick and select Group. Note that a Group icon now precedes the selected plots in the Plot List.
 To ungroup, rightclick on the Group icon and choose Ungroup from the shortcut menu.

Speed Mode
Graphs, Speed Mode Speed ModeData Reduction, Graphs
With Speed Mode, you can control the number of data points displayed in a graph layer. This option is most useful when working with large data sets. Speed Mode can be turned on for any 2D or 3D graph.
When Speed Mode is enabled, the layer icon displays in red and a Speed Mode is On watermark appears in the layer. The watermark is not included when printing, copying, or exporting the graph.
To adjust Speed Mode settings:
 With your graph active, select Format: Layer Properties from the Origin menu.
 Select the Size/Speed tab.
 For plots created from worksheet data, Select the Worksheet Data, Maximum Points Per Curve check box to enable Speed Mode for all the data plots in the layer that are created from worksheet data. Type the desired value (n) in the associated text box. If the number of data points in a data plot exceeds n, Origin displays a subset of the data plot containing n points, drawn by extracting values at regular intervals from the data set.
 For 3D data plots created from a matrix or for contour data in the layer, Select the Matrix Data, Maximum Points Per Dimension check box to enable Speed Mode. Type the desired value (n, m) in the X and Y text boxes. If the number of data points in a data plot exceeds n or m, Origin displays a subset of the data plot composed of  at maximum  n by m points. This subset is drawn by extracting values at regular intervals from the matrix columns (X) and rows (Y).
For broad control, you can select Speed Mode from the Graph menu. This opens the speedmode XFunctiondialog. The dialog lets you specify a number of options for where your changes should apply ( Target ) as well as a range of Speed Mode settings from Off to On  High.
 Click the Enable/Disable Speed Mode button on the Graph toolbar, to toggle Speed Mode on/off for all layers in the graph window.

To turn off the Speed Mode is On watermark:
 Select Tools: Options to open the Options dialog box.
 Select the Graph tab and clear the Speed Mode Show Watermark check box.
Notes on Speed Mode:
 The Speed Mode controls on the Size/Speed tab of the layer's Plot Details only apply to what you see on screen. They do not apply to graphs that are printed or exported, by default. If you wish to skip points in printouts, use controls in the Print dialog. See the discussion of the Skip Points feature as it applies to some graph windows in the Origin Help file. If you wish to apply Speed Mode settings to graphic export, please see this discussion of Performance Group controls on the Miscellaneous tab of the Plot Details dialog box or use controls under Export Settings node in Graph Export dialog.
 All Speed Mode settings are saved with the graph template. If you make changes to Speed Mode settings for a particular graph type, you will have to resave the graph template to make those changes permanent.
 Always exercise caution when using Speed Mode. Since Speed Mode systematically weeds out a portion of your data points, it should be kept in mind that any graph in which Speed Mode is turned on, may  or may not  accurately represent your data, to your satisfaction. Always familiarize yourself with your data and adjust and compare Speed Mode settings to ensure that trends in your data are accurately depicted.

Publishing Your Graph: Copy/Paste, Image Export, Slide Shows and Printing
There are a number of ways to present your finished graph.
 Copy a graph page and paste it in other applications such as Word, Powerpoint, etc.
 Export graph page as an image file (raster or vector).
 Send Graphs to Powerpoint.
 Printout.
 Slideshow within Origin.
 Create Movies.
Please read details in the Publishing and Export chapter of this User Guide and the "Topics for Further Reading" there.
Origin Graph Types
Graph Types
Origin supports over 100 plot types. Origin's 2D graphs are plotted from Worksheet data. Typically, this means an "X" column and one or more "Y" columns (or a subrange of one or more Y columns). A few graphs require an additional error bar column. Of the 3D and contour graph types, some are created from XYZ worksheet data; some are created from a particular worksheet data arrangement that we call a Virtual Matrix; and some are created from Matrix window data. For information on these data arrangements, see these sections of this Guide:
 Origin Graph Samples of most 2D and 3D graph types are included with your Origin software. To view graphs, supporting data and guidelines for making the graphs, choose Help: Origin Central; or click on the Origin workspace to activate Origin and press F11 on your keyboard.

The following is a comprehensive list of Origin 2D and 3D graph types as they appear in the Plot menu. In these tables, the Plot menu icon precedes the graph name. The Notes column provides some basic information on data requirements. For specific data requirements, follow the link in the Graph Types column.

2D Graphs
 Origin 2018 adds these new graph types: Bridge Charts (Waterfall Charts to Excel users), plus DoubleY Box Charts and Colormapped Line Series graphs. 
Graphs, Listed by Type
Plot Menu Group

Graph Types

Notes

Line

Line
Horizontal Step
Vertical Step
Spline

 Start with a Worksheet.
 Select one or more Y columns or at least a portion of one Y column.
 Multiple Y columns are grouped in layer.
 If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For specific data requirements, follow links in the Graph Types column.

Scatter

Scatter
Scatter Central
Column Scatter
Y Error
XY Error
Vertical Drop Line
Bubble
Color Mapped
Bubble + Color Mapped
Error Band

 Start with a Worksheet.
 If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For specific data requirements, follow links in the Graph Types column.

Line + Symbol

Line + Symbol
Line Series
2 Point Segment
3 Point Segment
Spline Connected

 Start with a Worksheet.
 Select one or more Y columns or at least a portion of one Y column.
 Multiple Y columns are grouped in the graph layer (except Line Series).
 For Line Series graph, select 2 or 3 Y columns.
 If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For specific data requirements, follow links in the Graph Types column.

Function

New 2D Plot
New 2D Parametric Plot

 Function plots are not created from physical data.
 Once a function plot is created, you can obtain the derived dataset.
 For more information on function plots, follow links in the Graph Types column.

Bar

Column
Column + Label
Bar
Stacked Column
Stacked Bar
100% Stacked Column
100% Stacked Bar
Floating Column
Floating Bar

 Start with a Worksheet.
 For Bar, Column or Column + Label, select one or more Y columns (multiple Y columns are grouped in layer).
 For Floating Bar/Column, select two Y columns.
 For Stack graphs, select two or more Y columns.
 If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For specific data requirements, follow links in the Graph Types column.

Pie

3D Color Pie Chart
2D B&W Pie Chart

 Start with a Worksheet.
 Select exactly one Y column or a range from one Y column.
 If there is an associated X column, the X data are used in the graph legend; otherwise row number is used.
 For specific data requirements, follow links in the Graph Types column.

Area

Area
Stacked Area
100% Stacked Area
Fill Area
Fill 2 Colors

 Start with a Worksheet.
 If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For specific data requirements, follow links in the Graph Types column.

MultiY

DoubleY
2Ys, ColumnLine&Symbol
DoubleY Column Graph
3Ys YYY
3Ys YYY
4Ys YYYY
4Ys YYYY
Multiple Y Axes...
Stacked Lines by Y Offsets
Colormapped Line Series

 Start with a Worksheet.
 Select two or more Y columns.
 Multiple Y Axes opens interactive dialog. Choose plot type, number of axes, plots per layer, axis color to match plot, etc.
 For specific data requirements, follow links in the Graph Types column.

MultiPanel

Vertical 2 Panel
Horizontal 2 Panel
4 Panel
9 Panel
Stack...
Multiple Panels by Label...

 Start with a Worksheet.
 Select one Y column (or range) per panel.
 If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For specific data requirements, follow links in the Graph Types column.

Zoom

Zoom

 Start with a Worksheet.
 Select at least one Y column or a range from at least one Y column.
 If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For specific data requirements, follow the link in the Graph Types column.

Box

Box Chart
Interval Plot
Marginal Box Charts
Bar Chart
Box Overlap
Box Normal
Bar Overlap
Bar Normal
Scatter Interval
Double Y Box

 Start with a Worksheet.
 Select at least one Y column or a range from at least one Y column.
 For specific data requirements, follow the link in the Graph Types column.

Histogram

Histogram
Histogram + Probabilities
Stacked Histograms
Marginal Histograms
Distribution
Histogram with Labels

 Start with a Worksheet.
 Select at least one Y column or a range from at least one Y column.
 For specific data requirements, follow links in the Graph Types column.

2D Kernel Density

2D Kernel Density

 Start with a Worksheet.
 Select at least one Y column or a range from at least one Y column.
 For specific data requirements, follow the link in the Graph Types column.

Scatter Matrix

Scatter Matrix

 Start with a Worksheet.
 Select two Y columns or a range from two Y columns.
 For specific data requirements, follow the link in the Graph Types column.

Probability

Probability Plot]
QQ Plot

 Start with a Worksheet.
 Select one Y column or a range from one Y column.
 For specific data requirements, follow the link in the Graph Types column.

Pareto

Pareto Chart  Binned Data
Pareto Chart  Raw Data

 Start with a Worksheet.
 Select one Y columns or a range from one Y column (Raw), or a Y column of Binned results.
 For specific data requirements, follow the link in the Graph Types column.

QC (Xbar R) Chart

QC (Xbar R) Chart

 Start with a Worksheet.
 Select at least one Y column or a range from at least one Y column.
 For specific data requirements, follow the link in the Graph Types column.

Contour

Contour  Color Fill
Contour B/W Lines + Labels
Gray Scale Map
Heat Map

 Contour Color Fill, B/W Lines + Labels, Gray Scale Map, Contour Profiles: XYZ, Virtual Matrix, Matrix.
 Heat Map: Virtual Matrix, Matrix.
 For specific data requirements, follow links in the Graph Types column.

Polar

Polar theta(X) r(Y)
Polar r(X) theta(Y)
Bar theta, r
Bar r, theta
Line + Symbol theta, r
Line + Symbol r, theta
Symbol theta, r
Symbol r, theta
Polar Contour theta(X), r(Y)
Polar Contour r(X), theta(Y)

 Start with a Worksheet (Polar, Polar Contour) or Matrix (Polar Contour only).
 For data requirements and other information on all polar graphs except polar contour graphs, see Polar Graph.
 For data requirements and other information on polar contour graphs from XYZ data, see Polar Contour from XYZ Data.
 For data requirements and other information on polar contour graphs from matrix data, see Polar Contour from Matrix Data.

Vector

Vector XYAM
Vector XYXY

 Start with a Worksheet.
 For XYAM Vector, select three Y columns (or a range of the three Y columns).
 For XYXY Vector, select two X columns and 2 Y columns (or a range of two X and two Y columns).
 For specific data requirements, follow links in the Graph Types column.

Ternary

Ternary
Ternary, Line+Symbol
Ternary, Line
Ternary Contour
Piper

 Start with a Worksheet.
 For specific data requirements, follow links in the Graph Types column.

Stock

HighLowClose
Japanese Candlestick
OHLC Bar Chart
OHLCVolume
Line

 Start with a Worksheet.
 For specific data requirements, follow links in the Graph Types column.

Bridge Chart

Bridge Chart
Stacked Bridge Chart
Stacked Total Bridge Chart
HorizBridge Chart

 Start with a Worksheet.
 Select one or more Y columns (or a range of one or more Y columns). If there is an X column to the left of the Y column(s), this X column is treated as categorical data; otherwise, the worksheet's row indices will be used.
 Origin Bridge Charts are variants of one basic chart type. For more information, see Bridge Charts.

Profile

Contour Profiles
Image Profiles

 Start with a Worksheet, Virtual Matrix or Matrix (Image Profiles, Matrix only).
 For specific data requirements, follow links in the Graph Types column.

Smith Chart

Smith Chart

 Start with a Worksheet.
 Select at least one Y column of values (or a range from at least one column). If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For more information, follow the link in the Graph Types column.

Wind Rose

Wind Rose  Binned Data
Wind Rose  Raw Data

 Start with a Worksheet.
 Select one or more Y columns or a range from one or more Y columns. If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For specific data requirements, follow links in the Graph Types column.

Radar

Radar
Line Fill
Line
Symbol

 Start with a Worksheet.
 Select at least one Y column (or a range from at least one Y column). The X column displays as the title of the radial axis around the chart. If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 Radar Charts and Spider Charts are created from the same basic Origin plot type.
 For more information, see Spider Charts.

Group Plot

Grouped Columns  Indexed Data
Grouped Box Charts  Indexed Data
Grouped Box Charts  Raw Data

 Start with a Worksheet.
 Select at least one Y column (or a range from at least one Y column), plus a second column with grouping information. If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For more information, follow the link in the Graph Types column.

Trellis Plot

Trellis Plot

 Start with a Worksheet.
 Select at least one Y column as input data. Optionally, you can have an additional associated Y error column for each Y column. Other column(s) generally contain grouping information.
 For more information, see the link in the Graph Types column.

3D Graphs
Graphs, Listed by Type
Plot Menu Group

Graph Types

Notes

Line + Symbol

3D Scatter
3D Scatter + Error Bar
3D Line
3D Trajectory

 Data requirements vary by plot type. See links in the Graph Types column.

Function

New 3D Plot
New 3D Parametric Plot

 Function plots are not created from physical data.
 When a 3D Function is plotted, a matrix of Z values is simultaneously generated.
 For more information on function plots, follow links in the Graph Types column.

Vector

3D Vector XYZ XYZ
3D Vector XYZ dXdYdZ

 Start with a Worksheet.
 Select 6 worksheet columns, designated as XYZ XYZ.
 For more information, see links in the Graph Types column.

Bar

3D Bar Graph
3D Stacked Bars Graph
3D 100% Stacked Bar Graph

 Start with a Worksheet (XYZ) or a Virtual Matrix or Matrix of Z values.
 For specific data requirements, follow links in the Graph Types column.

Surface

Color Fill Surface
X Constant with Base Surface
Y Constant with Base Surface
Color Map Surface
Color Map Surface with Projection
Wire Frame
Wire Surface

 Start with a Worksheet or Matrix.
 For specific data requirements, follow links in the Graph Types column.

Ternary

3D Ternary Colormap Surface
3D Ternary Symbol

 Start with a Worksheet.
 Select two Z columns (XYZZ) or a range of data from two Z columns (Z columns may be multiples of 2).
 For more information, follow links in the Graph Types column.

Waterfall

nWaterfall
Waterfall: Y Color Mapping
Waterfall: Z Color Mapping
3D Waterfall
3D Waterfall: Y Color Mapping
3D Waterfall: Z Color Mapping

 Start with a Worksheet.
 Select at least one Y column (or a range from at least one Y column). Ideally, select at least two Y columns (or a range of at least two Y columns). If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For more information, see the links in the Graph Types column.

MultiY

XYY 3D Bars
XYY 3D Stacked Bars
XYY 3D 100% Stacked Bars

 Start with a Worksheet.
 Select at least one Y column (or a range from at least one Y column). Ideally, select at least two Y columns (or a range of at least two Y columns). If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For more information, see the links in the Graph Types column.

3D Ribbons

3D Ribbons

 Start with a Worksheet.
 Select at least one Y column (or a range from at least one Y column). Ideally, select at least two Y columns (or a range of at least two Y columns). If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For more information, see the link in the Graph Types column.

Walls

3D Wall Graph
3D Stacked Wall Graph
3D 100% Stacked Wall Graph

 Start with a Worksheet.
 Select at least one Y column (or a range from at least one Y column). Ideally, select at least two Y columns (or a range of at least two Y columns). If there is an associated X column, X column supplies X values; otherwise, Y sampling interval or row number is used.
 For more information, see the link in the Graph Types column.

Topics for Further Reading
