18 Publishing and Export
Origin 2018 adds a significant improvement to copy/paste and image export of Origin graphs. Normally, when you click Edit: Copy Page or Edit: Copy Graph as Picture; or you export a graph to an image file (File: Export Graphs), the margins of your copied or exported graph are determined by the Margin Control in Copy Page Settings group of Tools: Options (Copy actions) or the Export Settings branch of Export Graphs (Export actions). In Origin 2018, you can interactively modify the default margins using the Export Margin Offsets Dialog Box.
Copying and Pasting Graphs to Other Applications
Picture, or as an Origin Graph Object.
There are two ways you can include Origin graphs in another application's files (e.g. Microsoft Word): as a
- Click on your Origin graph to activate it, then ...
- To copy the graph as a picture, choose Edit: Copy Graph as Picture.
- To copy the graph as an editable graph object, choose Edit: Copy Page.
- In your target application choose Paste or press CTRL+V.
When you paste as a picture, the graph is inserted as an image. In MS Word, for instance, double-clicking on the image launches Word's picture-editing tools, but this method does not allow for further graph edits in your Origin software.
When you paste as a graph object, you can later double-click on the object in the target application to launch a new instance of Origin. The graph, and any associated data sheets, will be available for editing. After editing, use Origin's File: Exit and Return to... menu item to update the embedded object, close Origin and return to the host application.
There are important settings in the Options dialog (Tools: Options) that determine how the graph page is copied or exported. These settings determine, among other things, the amount of white space that is included with your copied or exported graph. Please see the Copy Page Settings and also the Export Margin Offset dialog box.
Organizing Your Graphs for Presentation or Export
If your Origin project file contains a large number of graphs that you plan to export or use in an Origin slide show, you can make things easier by adding shortcuts to your graphs to a Project Explorer Favorites folder and arranging them there:
- Right-click on a window and choose Add Shortcuts to Favorites. This will add a shortcut to each graph window, to a new Favorites subfolder (visible in Project Explorer).
- When sending graphs to PowerPoint or creating an Origin slideshow, you can (1) set slide order in the corresponding dialog box or (2) set slide order following this procedure.
Exporting Graphs and Layout Pages to an Image File
File:Export Graphs. This will open the expGraph dialog box which offers several options to control the export.
To export a graph or a layout page as an image file, select the menu
Origin supports 15 export file formats:
| Raster Formats
|| BMP, GIF, JPG, PCX, PNG, TGA, PSD, TIF;
| Vector Formats
|| CGM, DXF, EPS, EMF, PDF, WMF
The expGraph dialog offers options for customizing the output size by scaling the height or width of the page, various settings that are specific to the chosen file format, options for naming the output file, and options to perform batch exporting of multiple pages. Customized settings can be saved as a Theme file for repeat use. The last used settings are available from the File: Recent Exports menu item.
Exporting to raster formats such as TIFF and specifying a high resolution (e.g. 600 DPI or above) can produce a very large output file size, depending on the page size. To reduce the file size, consider reducing the size of the page before export. Consult with your publisher to determine the actual width of a print column in your journal.
Sending Graphs to PowerPoint
You can send a batch of Origin graphs to PowerPoint as either pictures or as embedded objects that can be further edited in your Origin software (double-click on the graph in PowerPoint to launch an instance of Origin).
Click the Send Graphs to PowerPoint button on the Standard toolbar or right click in Project Explorer and select Send Graphs to PowerPoint... from the shortcut menu. This opens a dialog with controls for specifying how your graphs are sent to PowerPoint.
- Select multiple graphs in Project Explorer before opening the dialog, and only the selected graphs will be sent to PowerPoint by default.
- Choose the Specified option in the Select Graph(s) drop-down list to remove graphs you don't want to send, and change graph order.
- Besides showing the window name or window path as a slide title, you can also specify a custom string that incorporates metadata properties in the slide title.
- When sending graphs to an existing PowerPoint file or template, set Slide Mode as Start New to create a new slide for extra graph page, using a specified "starting slide."
Slide Show of Graphs
Origin has a built-in slideshow utility for viewing or presenting your graphs. The slide show can be started in two ways:
- Right-click on any folder in Project Explorer and select Slide Show of Graphs...
- Click the Slide Show of Graphs button on the Standard toolbar.
A dialog box opens offering options to set slide order, slide cycle time, whether to include graphs in sub folders, etc. The dialog also lists shortcut keys for use during the slide show (e.g. G = go to the actual graph window of the currently displayed slide).
Tutorial: Slide Show of Graphs
- Use the File: Open Sample Projects: 2D and Contour Graphs menu to open the sample project.
- Click on the Slide Show of Graphs button in the Standard Toolbar.
- Accept default settings in the dialog that opens, and press OK to start the slide show.
- You can use the up/down arrow keys or the mouse wheel to flip thru the slides.
Video Builder tool, accessible from the Open Video Builder button on the Standard Toolbar. This tool can be used to manually capture a series of graph windows, and write one frame at a time to a video (.AVI) file.
Origin provides a
Videos can be created using LabTalk script or Origin C code, by programmatically computing or updating data and then writing out the graph as a frame in the video, at each step during the computation.
|Note: For more information, please refer to the:
Help: Origin: Origin Help > Exporting and Publishing Graphs > Creating Graph Animation
For specific examples of programmatically created movies, including Origin Projects and code, please visit www.originlab.com/animation.
Exporting Worksheets and Matrices
File: Export menu item provides the following options:
With a worksheet active, the
- ASCII, NI TDM (TDM, TDMS), and Sound (WAV)
- This option is available only for sheets containing data columns, and is not available when report sheets such as those created by the Nonlinear Fitting tool are active. The exported file will contain only data from the worksheet columns. Floating or embedded graphs placed in the worksheet will be ignored.
- As Multipage PDF File
- This option is available only on sheets with data columns, and not for report sheets. Use the View: Page Break Preview Lines menu item to view the vertical and horizontal page break lines that determine which columns and rows will be included in each page of the export. Floating or embedded graphs placed in the worksheet will be included in the exported image.
- As Image File
- This option is available on both data and report sheets. In the dialog that opens, you can select whether to export the entire sheet, visible area, or selection. Image file formats including PDF are supported. Floating or embedded graphs placed in the worksheet will be included in the exported image.
- As PDF File†
- This option is available for both data and report sheets. In the dialog that opens, you can opt for exporting the entire sheet, the visible area, or a selection. Floating or embedded graphs are included in the exported PDF.
† The PDF export option was previously included with the As Image File menu option but was not obvious to users so in 2018, it is now a separate Export menu entry.
When creating a custom report from a worksheet that combines data, numeric results and graphs, the best option is to export the entire sheet as a PDF file, or export the sheet as a multi-page PDF file.
Exporting a Matrix
Origin matrix data can be exported in these two formats:
- This will create an ASCII file of the data contained in the active matrix object.
- This option will export the image view of the active matrix object, as a raster file.
Topics for Further Reading