10.1.1 Exporting Graphs


Video Image.png Video Text Image.png Website blog icon circle.png Blog Image 33x33px.png

Summary

When you have completed your graphs for publication, exporting your final results is very easy with Origin. The graph export is highly customizable. You can specify the size of the image, the file format, and other advanced settings such as color format.

What you will learn

  • How to export a graph and specify the settings.
  • How to export specified graphs in the project.

Export a graph as an eps image

This tutorial is associated with the XYZ Contour project (C:\ProgramData\OriginLab\(version number)\Origin\Central\Graphing\Contour Plots - XYZ Contour.opju) . You can also open Learning Center, select Contour Plots plot type and then double-click on the icon of XYZ Contour graph to open this project.

  1. With the project opened, activate the graph window below.
    Exporting Graphs 01.png
  2. Select File: Export Graphs : Open Dialog from the Origin menu to open the expGraph dialog.
  3. Click the Auto Preview check box. Then the graph will auto preview the temporary copy in the right panel of the dialog.
    Exporting Graphs 02v.png
  4. If your Image tab preview appears blank, you are likely viewing only a corner of a very large raster image. Starting with Origin 2019, you can right-click in the Image tab and choose a zoom level for previewing your raster or vector images. By manipulating the size of the Preview panel + the Image tab zoom level, you'll be able to view your entire graph.

  5. Specify the following settings to export the graph:
    • Customize the File Name to My Graph.
    • Expanding the Export Settings node, select Border from the Margin Control drop-down list and type 3 in the Clip Border Width box.
    • Expanding the Image Size node, uncheck Auto check box for Fit Width and set width to 5.
    Exporting Graphs 03.png
  6. Click the triangle button to the right of the Dialog Theme. Select Save As from the shortcut menu. The Theme Save as dialog opens.
    Exporting Graphs 04.png
  7. In the Theme Save as dialog, enter My EPS Export as Theme Name. And click OK.
  8. Click the OK button in the expGraph dialog, then My Graph.eps is created in your User File Folder. And the graph path will display in the Message Log.
    Exporting Graphs 06.png
  9. Repeat export a graph using the setting from above, select the theme My EPS Export in the fly-out menu of the export graph tool directly.
    Exporting Graphs 07.png
    Or
    Click the right-sided triangle button to the right of the Dialog Theme in the expGraph dialog. From the shortcut menu, pick My EPS Export. The settings from that theme will then be loaded in the dialog.
    Exporting Graphs 08.png

In the last couple of steps, you saved your custom export settings as an external Theme file and learned to apply that Theme from the expGraph flyout menu. Beginning with Origin 2021, export settings are automatically saved with the graph on export. If you are are not exporting your graph immediately, you can save settings by clicking on the Dialog Theme flyout menu and choosing Save to <Graph>.

Export the specified graphs

  1. Open the sample project file Column and Bar.opju under the sample folder <Origin EXE folder>\Samples\Graphing.
  2. In the Project Explorer, click on the folder "Column_Plot_with_Baseline_Y=0.5" and activate the graph window in it.
  3. Select File: Export Graphs to open the expGraph dialog, in the dialog, select Portable Network Graphics(*.png) for Image Type.
  4. Select Specified from the Select Graph(s) drop-down list. Click the Button Browse.png button to the right of the Graph Page edit box to open the Graph Browser dialog.
    Exporting Graphs 09v.png
  5. In the Graph Browser dialog, all the graphs in this project will list in the left panel of the dialog. Select Graph8 in the left panel, then the preview panel will show a preview of the graph.
  6. Click the Add.png button to add the selected graph to the right panel, or double-click selected graph in left panel to add to the right panel.
    Exporting Graphs 10.png
  7. Then click OK button, the specified graphs will show in the Graph Page box. Expanding the Image Size node, select pixel from the Specify Size in drop-down list. And uncheck the Auto check box for Fit Width and set width to 600.
    Exporting Graphs 12.png
  8. Click OK button in the expGraph dialog, then two images are created. And the graph path will display in the Message Log.
    Exporting Graphs 13v.png