1.226 FAQ-991 How to add equations and special characters in Graph?

Last Update: 3/29/2023


Origin provides three ways to help user insert equation or special characters in Graph.

Text Tool with Unicode Support LaTeX Equation Insert Equation
Effect FAQ991 Text.png FAQ991 Latex.png FAQ991 Equation.png
Rotate X
User Friendly GUI Partly X Fully
Substitution from Workbook Header X
Weakness Do not support complex character such as square root, brace ect Require some basic knowledge of LaTeX language. Need to install the corresponding software/plug-in in advance

or

How Text tool button Button Text Tool.png Insert Equation button Button Insert Equation.png
  • Insert Object button Button Insert Object.png,

or

  • Set system variable @MKX = 1 and @IEE = -1.

See details in this section.

LaTeX Equation

You may need to refer to other web page for LaTex Language, such as the one below

http://www.sciweavers.org/free-online-latex-equation-editor

To insert LaTeX equation in graph
  1. When a graph is active, click Insert Equation button Button Insert Equation.png from the Tools toolbar.
  2. Click at the desired position on the graph. The LaTeX Equation Editor will open allowing you to select a built-in funtion or enter your equation in the edit box and preview the rendered equation in the bottom panel.
FAQ991 Latex Dialog.png

You can also insert LaTeX equation in axis title, legend, or any text objects:

  1. Double click on the text object to enter in-place edit mode.
  2. Right click and select Insert: LaTeX Equation from context menu, or press Ctrl + L to open the LaTeX Equation Editor.
To insert LaTeX equation to workbook cell

You can insert LaTeX equations to worksheet metadata area (e.g. Long Name, Units, Comments, etc.) and data area,

  1. Click desired worksheet cell and select Insert LaTeX button Popup Insert Latex.png on the pop-up mini toolbar. This will insert a LaTeX equation enclosed by a \q() escape sequence.
  2. If you also want the LaTex equation to be shown in workbook, select the column label row and set Data Style to Rich Text

FAQ991 Latex Workbook.png

Note: LaTeX equation inserted into worksheet column label rows (e.g. Long Name, Units and Comment) will be auto-rendered in axis title and legend.

To insert LaTeX equation to Notes window
  1. Double click in the Notes window to switch to Origin Rich Text syntax.
  2. Right click and select Insert: LaTeX Equation from context menu.

Insert Equation Tool

How to use the Insert Equation App
  1. Click Insert Object button Button Insert Object.png on the Tools toolbar.
  2. In the Insert Object dialog that opens, select MathType Equation from the Object Type list and click OK button.
    FAQ991 Insert Object Dialog.png

OR,

  1. Set system variable @MKX = 1 and @IEE = -1. See this FAQ of how to change the value of system variable.
  2. With a graph active, click Insert Equation button Button Insert Equation.png from the Tools toolbar
  3. Click NO when you saw the dialog.
    Latex Insert Equation.png
  4. Edit equations with MathType or Equation Editor dialog
    FAQ991 Insert Equation Dialog.png

To use the tool, you need to install the corresponding software/plug-in in advance

MathType (Not free)

or

Microsoft Equation Editor(Not available if you installed January 2018 Office Update (PU))

Text Tool with Unicode Support

How to add equations or special characters with text tool
Text tool equation.gif
Which font should be used for math equations

For simple equations, we can use text tool with math font. Usually we recommend following three popular math font

  • Times New Roman (Same font as MathType and some Tex tool)
  • Cambria Math (Same font as Equations in Microsoft Office)
  • Latin Modern Math (Same font as some Tex Tool)
Time New Roman (Italic) Cambria Math (Italic) Latin Modern Math (Italic)
FAQ991 Text.png FAQ991 Cambria Math.png FAQ991 Latin Modern Math.png
How can I find the unicode of special characters I need
Method 1: Refer to other Unicode Webpage
  1. Browser webpage for unicode reference, such as the one below
    https://unicode-table.com/en
  2. Search the character you want such as keywords as combining dot

Combining characters can work together with other character to create special character.

Combining Character.gif


Method 2: Use Windows App - Character Map
  1. Search and Open the Window App: Character Map
  2. Choose the Font such as Times New Roman and Character Set as Unicode
  3. Set Group by = Unicode Subrange
  4. Choose desired subrange and find the symbol you want.
Character Map.gif

Keywords:Unicode, ALT+X, Greek, ASCII, Extended ASCII, ANSI, mu, pi, delta, alpha, beta, epsilon, lambda, degrees, superscript, subscript, extended character, escape sequence, overline, tilde, dot, rich text, angstrom, math, umlaut, worksheet header, column label, legend