6.5.5 Multi-line-plot with Special Position Annotation Line

Contents


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

Summary

This tutorial will show you how to create a multi-line-plot with special position annotation line.
Multi line plot.png

Minimum Origin Version Required: Origin 2015 SR0

Steps

  1. Select Help: Learning Center menu or press F11 key to open Learning Center. Select Graph Sample tab and then select Line and Symbol Graphs from the "Category" drop-down list. Double-click on the graph sample below to open the sample "Line and Symbol Graphs - Multi-line-plot with Special Position Annotation Line".
    MultiLine with SpecialAnnotation 00.png
    Note: This tutorial is associated with the folder Multi-line-plot with Special Position Annotation Line of the "Tutorial Data" project:<Origin EXE Folder>\Samples\Tutorial Data.opju.
  2. Active to the worksheet in workbook Multi-line-plot with Special Position Annotation Line. To plot a multiple line plot, highlight all the columns in the worksheet, and click the Line Button Line.png button on the 2D Graphs toolbar. Delete the legend object from graph.
    Special Position Annotation2.png
  3. Click on the left Y axis, and in the popup mini toolbar, click on the Tick Style button Popup Axis Tick Style.png to select In in the list.
    MultiLine with SpecialAnnotation 01.png
    Click on the bottom X axis and do the same thing to set the axis tick style.
  4. Click on the left Y axis again, and in the popup mini toolbar, click the Axis Scale button Popup Axis Scale.png to open the Axis Scale button to set the scale for X and Y axis:
    For X (Horizontal): From 74505 to 74575;
    For Y (Vertical): From -2500 to 45000;
    MultiLine with SpecialAnnotation 02.png
  5. Click on the left Y axis again, and in the popup mini toolbar, click Show Gradlines button Popup Show Gridlines.png to select Major from the list to show only the major grid lines.
    MultiLine with SpecialAnnotation 03.png
  6. Click any white space within the layer frame, and in the popup mini toolbar, click Layer Frame button Popup Layer Frame.png to add a line frame on the graph.
    MultiLine with SpecialAnnotation 04.png
  7. Click on one plot, and in the popup mini toolbar, click Line Color button Popup Line Color.png to expand the color chooser. Under the Group tab Popup Group Tab.png, select By Plots sub-tab, by pressing Ctrl key, click the current color list to open the Increment Editor dialog to change the first four colors for the 4 plots.
    MultiLine with SpecialAnnotation 05.png
  8. Double-click on the tick labels of Y axis to open the Axis dialog. Go to the Ticks Labels tab and change the display format for Left into Scientific: 10^3. Click OK button.
    MultiLine with SpecialAnnotation 06.png
  9. Then, you will add vertical line on Graph, select Insert: Straight Line in main menu to open the dialog, set the X coordinates in the dialog, and set color: red, click OK to apply the settings.
    Special Position Annotation6-1.png
  10. A straight line with text was added on the graph. Edit the Text object above the line object by double click it, the Button Superscript.png and Button Subscript.png in Format toolbar is helpful when creating superscripts and subscripts. Entering the content as shown in graph below:
    Special Position Annotation7.png

    Then, click somewhere outside the text box to quit the text editing, drag to move the text to a proper position.
    Now, the text object get the X coordinates of the line, when you drag to move the line object horizontal, the text also updates simultaneously.
  11. Add explanatory strings for line plot, add a title on the graph by using Text Tool as well.

    There are 2 ways to edit text labels:

    • In-place Text Editing: Double-clicking puts you in WYSIWYG edit mode. Using the Style and Format toolbars makes it easy to add formatting to any text. For special characters, the Symbol Map can be used.

      The Symbol Map can only be opened while in In-place edit mode. To enter In-place edit mode, double-click on the text label. Then, open the Symbol Map by pressing CTRL+M. Or right-click inside the text label and select Symbol Map.

    • Text Control dialog box (from previous versions of Origin): Hold down the CTRL key when double-clicking text. Highlight any portion of the text and apply the desired style, Greek font, etc.

      You can also right-click on a text label and select Properties to open this dialog.

    The finished graph is similar to the graph in Summary Section in this tutorial.