Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Graphing

New Graph Types

...

JIRA

SUMMARY

DESCRIPTION

DETAILS

ORG-24630

Add Labels for Each Layer

Mini toolbar button to add label for each layer of multi-layer graph

In graph with more than 1 layers, click on graph page edge and click Add Label for Layers… button

ORG-21668

Insert image from worksheet cell or image window to graph

Insert image to text object using \cell() and \img() notation

  • For image in worksheet cell, use the following syntax to show it in graph

Code Block
\cell([book1]1!col(C)[2]) = col C, row2 and current font height
\cell(alpha,200) = cell defined by alpha, width=200 logical pixel
\cell(alpha,h=300) = cell defined by alpha, height=300 logical pixel
  • Show Smile Image in Graph

Copy smile image in worksheet cell and then in Graph, add Text, in the text object, right click to Paste Link. Or use menu Edit: Paste Link.

  • Show Image window in Graph

Code Block
\img(Image1) = Image1
\img(Image1,200) = Image1, width=200 logical pixel
\img(Image1,h=300) = Image1, height=300 logical pixel

ORG-23916

Simple Version Symbol Map - Beta3, Beta4

Insert Symbol Map provides both Simple and Advanced mode

In in-place edit mode of Text and legend, Ctrl+M or right click and choose Symbol Map.

  • A simpler modeless dialog shows with symbols organized by tabs

  • Combining tab to add accents, etc.

  • Recently used symbol for easy access

  • Uncheck Close dialog to insert multiple symbols

  • Click Advanced to see the old dialog with more options such as change font, unicode, etc.

ORG-24901 - Beta4

Better treatment of none existing substitution notation in text label

Ignore non-existing substitution notation and conditional spacing

  • Set set axis title as %(?Y,@LL) %(?Y,@LD1) (%(?Y,@LU)), which means show Y plot’s <long name> <user-defined parameter1> (<units>)

In previous versions, if user-defined parameter doesn’t exist, it will show <long name> ### (<units>)

In Origin 2022b, it will show <long name> (<units>). //note that extra spaces show

  • Introduced new escape sequence to represent conditional space \sc.

So use %(?Y,@LL)\sc%(?Y,@LD)\sc(%(?Y,@LU)), it will show <long name> (<units>) if no user-defined parameter

ORG-24949

New escape notations to block substitution notation - Beta4

\h() to block substitution

h should be another form of verbatim e.g. \h(\l(1) %(?Y)) to display literal \l(1) %(?Y)

ORG-24940

New escape to add separator between multi-line text or legend with a smaller line spacing

\sep:50 after cursor as new row. It means add a separator row with vertical space=50% of font height

E.g. in legend box, add \sep:50 to add separator after 2nd line of legend with 50% font height

ORG-24613

Mini toolbar to turn on/off Link to substitution notation of text in graph

Add toggle of setting Link to (%, $) substition level to 1 or 0 on Text object mini toolbar

In the past, if user wanted to add label in graph with metadata in worksheet, or etc., user needs to enter the substitution notation and then go to Programming tab of Text Object Properties dialog to turn it on.

E.g. %(1, @WS) refers to 1st plot’s sheet display name. After entering it as text, user can easily turn the substitution notation on using the mini toolbar.

ORG-24665

Relative Position Improvement for Linked Objects

When a child object link to parent object, support Relative Position options to change the position of the graph object.

Example to show object link to parent object, In graph window, new a Line and Text object, run the LabTalk in Script Window.

Line.connect(Text, 0, 17, 0, 35)

ORG-24677

Auto Rotate for Label If Link to Line

When label link to Line/Arrow, support Auto option in Rotate dropdown, label will follow the rotation of the Line/Arrow if select

...

JIRA

SUMMARY

DESCRIPTION

DETAILS

ORG-24518

ORG-24684

Use Origin Rich Text to Cell Notes

Add Origin Rich Text as another Syntax for Notes, and set it as default

  • Besides Markdown, HTML, a new syntax Origin Rich Text is provided for Notes, and it will be set as default syntax for notes window and cell note.

  • Add Notes as Sheet will default using Origin Rich Text to create note sheet.

  • Rename HTML menu to be Notes menu, and provided samples for Origin Rich Text.

  • Context menu for easily added info from worksheet cell, meta data and graph/image window.

  • Context menu for easily added symbol, equation, web link and image when syntax is Origin Rich Text.

ORG-24519

Toolbar buttons for editing Origin Rich Text in More Places

When Notes window with Origin Rich Text syntax, allow to customize format like font, font size, color, .ect with Toolbar.

In worksheet, Insert Notes for cell, also allow In-Place Edit with Standard Toolbar

ORG-23917

Paragraph Style Support in Notes Window – Beta3

User can write notes, report in Notes window and styles

  • By default Notes window syntax set to Origin Rich Text by default. Right click window title and check Syntaxt node.

  • Right click the paragraph and choose Paragraph Styles. There are many preshipped styles e.g. Body Text, Bulleted List, Numbered List, Heading Left, Heading1, Heading2, Picture. Or user can define styles.

  • Use Tools: Text Style Manager to edit, create new styles and delete styles.

  • Close Origin, delete TextStyles.ini under User Files folder and restart Origin to reset to default settings.

ORG-24838

Improve Notes Window Raw Text Editor

Support moving cursor to matching parenthesis.

Added hotkey Ctrl+K, Ctrl+B and Ctrl+{ to find the matching parenthesis in Note book.

ORG-24846

Preview of Notes window in PE - beta3

Mousing over Notes window in PE shows preview

Paragraph style, image, etc. can show fine in Preview of Notes window in PE.

ORG-24845

Allow Notes Window to edit Text in Layout or Graph - beta3

Support text object to use text from Notes.

In graph or layout, user can add a text object and enter text “@@@notes1” and this will get string from notes window named Notes1.

In layout, two context menus are provided to easily insert or add note text.

ORG-19339

Font Control for Note Window

Support different font size in different Notes window

Font will be the same in all Notes windows but font size can be set differently in each notes window.

ORG-24920

URL Link support in Notes Window - beta4

Clickable URL link in Notes Window

Right click in Notes window and choose Insert: Link… to link to url, help file or labtalk command

Other examples

ORG-24902

Set Notes window page width and display margin - Beta4

Set Page width (inch) of Notes window and display margin (points)

When syntax is Origin Rich Text,

  • Right click Notes window title and choose Properties (Alt+Enter) and set Page width or use Labtalk property: note.width=

  • Use @NDM = 3; //Notes Display Margin in rendered mode, in points

ORG-24833

Notes Window Printing and PDF, Page Width - Beta4

Use

Code Block
note.width=

to set the intrinsic width in inches.

If specified, then the Notes window should render to that specified width so if resizing to be wider, empty space should be on the right.

Set to 0 to remove it (default).

ORG-24921

Zoom in and out in Notes window - Beta4

Zoom in rendered mode of Notes window

Use the zoom percentage toolbar to zoom in and out the notes window.

ORG-24876

Link to external or online image in Notes Window - Beta4

Link to image file or online image in Notes window to keep Origin project file size small

Use context menu to insert image file or online image to Notes window or text label in graph. Since it’s a link, it will not make project file size big.

Or directly use the following syntax:

ORG-24834

Insert Table in Notes Window - Beta4

Insert Table in Notes window. A table sheet will be created for editing contents.

Use Insert context menu to insert table in Notes window. \img([NoteTable1]Sheet1) notation will be added.

Go to the corresponding Table worksheet to edit contents and style of the table.

ORG-24747

Paragraph Support with new Origin Text Escape notation

Paragraph Support with new Origin Text Escape notation

...

JIRA

SUMMARY

DESCRIPTION

DETAILS

ORG-25113

Copy or Import Merged Cell from Excel to Origin Improvements - beta6

Origin will assign same value for each cell

After importing or pasting excel data with merged cell, the cells will not be merged. But all those cells will be filled with same value.

ORG-25018

Import web image to image window - Beta5

Import web image directly into Image Window in Origin

File: New: Image: Web Image… menu to import web image into new Image window

ORG-25066

Hotkeys to import images

Ctrl+Alt+I, Ctrl+Alt+T, and Ctrl+Alt+L are added to import single, multiple or web image

Hot keys to easily import images to image window

Ctrl+Alt+I: Image/Video…

Ctrl+Alt+T: Multiple Image Files…

Ctrl+Alt+L: Web Image

New Image button is added on Standard toolbar to open a blank image window

ORG-24606

Multi-frame TIFF Import Issues

Import multi-frame into matrix should check max to turn on slider.

Added system variable @MSS=10(default).

1.When only one frame in a Matrixsheet, then not show thumbnail and slider.

2.When 0<number of frames<=10, then show thumbnail.

3.When number of frames>10, then show slider.

ORG-25042

Import Multiple GeoTIFF to Image Window - Beta6

Import Multiple GeoTIFF images with same size into one image window with sliders showing

When converting such such image window to matrix, all images will be converted to matrix object in same matrix sheet.

When adding ROI and crop, create new, etc., it will be be done on all images.

When setting missing value color, grayscale display range (img.z1 & img.z2), it will be applied to all images.

ORG-24688

Import GeoTIFF to Matrix Window

Added Import Grayscale GeoTIFF as Data node under File Info branch for impImage X-Function.

1.Add a checkbox option “Import Grayscale GeoTIFF as Data“, in File Info branch under the file name when file format is tif, it is checked by default.

2.When this node is checked and the file is grayscale and does contain GeoTIFF info.

2.1 Switch to use OpenCV to import the data and use Data matrix as the result.

2.2 Set to Image View.

2.3 Properly set wks.col.missing.

ORG-24685

Import GeoTIFF to Image Window

Support import negative numbers as missing (GDAL_NODATA) in GeoTIF image

1.When a GeoTIF image contains negative numbers(like -999), will set img.missing=-999 to set these numbers as missing values in image window.

2.Added MT button to set missing value color for image window.

ORG-22386

Support showing oif filter on data import menu

Support showing import filters saved in User Files folder on Data: Import From File menu.

Import filters are not showing by default, user can add import filters to menu by Data: Import From File: Add/Remove File Types…

ORG-24601

Failure to use data connector once import filter is saved

Support data connector for drag and drop import when there are multiple import filters.

Improvements on last page of Import Wizard to save oif.

  • Change the default Filter file name to be same as import file name. When multiple files are imported, use 1st file name.

  • Improve the control name and hint e.g. rename the “Specify data file names to which this filter will be associated….” to be Applicable File

  • Auto fill applicable file with file name with wild card* so user can import all files starting with beginning part of file name

Add Use Connector option in Select Filter dialog.

By default Origin users data connector to import data. But if user used import wizard, etc. and saved multiple filter file *.oif under User Files\Filters\ folder, in the past, select Filter dialog will show for user to pick which filter to use. There is no way to use Data Connector anymore. In Origin 2022,

ORG-24594

NetCDF Import Average of Yearly Data in Specified Months

  1. Enable both Time Axis Skipping and Averaging.

  2. Support average cross years for numeric format year.

  1. If set Time Axis Skipping and Averaging at the same time, will execute Time Axis Skipping first and then execute Averaging.

  2. Support Across Years for the NetCDF data with time variable in numeric format.

ORG-24573

ORG-24776

Time specification on NetCDF data

Support setting Import Options for no-time data and non-geography data1.

  1. Support using Index when time is not available.

2.
  1. Support shift or flip if x y scale is suitable.

3.
  1. Support reading meta data for no-time data.

4.
  1. Support non-geography data.

ORG-15056

Import multiple files into a worksheet cannot separate columns by empty column

Support skipping empty column(s) when start new columns to import.

When user want to import multiple ASCII/CSV files into a single worksheet (by adding new columns) separated by an empty column between each file's column groups. To do so, need to set @ISE=1 fisrt, and then set a LabTalk command such as: wks.ncols+=1; or worksheet -a 1; for each file in Script After Each File Imported option.

ORG-23412

Improve Excel Connector to auto detect header

Improve Excel Connector to support auto detect header.

If the imported Excel sheet contains header, then Excel Connector will auto detect and set corresponding options.

ORG-24870

Improve Speed of import HDF5 file with deep levels

Provide more ways to improve speed of import HDF5 file for HDF Connector.

1.Added Copy Path to the current context menu on Navigator panel for HDF Connector.

2.Added a bit to wbk.dc.add() LT function to specify whether add Data Navigator.

For Example:

Code Block
wbk.dc.add("HDF", 1);

ORG-24755

Excel DC reimport should keep Categorical setting in worksheet

Improve Excel Connector to support keeping Categorical setting in worksheet when re-import

Example:

1.New a Workbook, and import an Excel file with Excel Connector.

2.Try to set some columns as Categorical.

3.Clear the Worksheet and re-import.

...

JIRA

SUMMARY

DESCRIPTION

DETAILS

ORG-24711

ORG-24793

Customize ROI label - Beta3

Custom Label support for Quick Fit/Statistics gadgets

On ROI Box tab, Custom Label control is added under Show on Center-Top of ROI Box node.

  • Substitution notation is supported to show greek letter, superscript, subscript, etc.

  • Calculation is supported too e.g. user can write $(slope*intercept).

  • Such custom label can be saved in gadget dialog theme and applied to new graph.

Use such ROI box label when generating output label box

E.g. For such multi-layer graph,

  1. Set custom label on ROI Box tab

  2. Set Parameter Table to be Use ROI Box Tab Settings and uncheck all other output on Label Box tab.

  3. Click the > button next to the yellow ROI box and choose New Output for All Layers. Fit curve and label will be added to each layer.

...

JIRA

SUMMARY

DESCRIPTION

DETAILS

ORG-24341

Cell Notes Programming Access

Support accessing cell notes in code

Labtalk

Introduce Labtalk substitution notation @WN to access cell note in text label or legend of graph window. See example below,

Code Block
%([Book1]Sheet1,@WN,B[2]) //cell note in the 2nd cell of col(B) in Sheet1 of Book1
%(1, @WN, 2) //cell note in the 2nd cell of the 1st plot's Y column
%(1X, @WN, 2) //cell note in the 2nd cell of the 1st plot's X column
%(1, @WN, B, 3) //cell note in the 3rd cell of col(B) in the 1st plot's worksheet
%(1, @WN, 4, 5) //cell note in the 5th cell of wcol(4) in the 1st plot's worksheet
%(1, @WN, C) //cell note in the Comment label cell of the 1st plot'Y column
%(1, @WN, B, L) //cell note in the Long name cell of col(B) in the 1st plot's worksheet
%([Book1]1, @WN, col(B)[L]) ==> //cell note in the Long name cell of col(B) in the first sheet of Book1

Python

Code Block
import originpro as op
row, col = 1,1
wks = op.find_sheet()
str = wks.method_str('GetNote', f'{row + 1},{col+1}')
print(str)
t = '\\b(Some Heading)\nAnother line\nYes more'
wks.set_cell_note(row,col,t)

ORG-24701

System Variable to completely disable sparklines

Support disable sparklines by system variable @SPK.

New registry system variable @SPK is instroduced. Default is 0.

  • 0: Default value, as before

  • 1: No new, but opju open as before

  • 2: Can add but opju will be cleaned up on loading

  • 3: Can’t create and opju will be cleaned up on loading

Also, new command “delete -spk;” is implemented to delete all sparklines in current project.

ORG-19905

Support KaTeX - Beta2

In Notes window, set Syntax as Markdown, input KaTex script and press Ctrl+M to render

ORG-24914

layer object support change XY mapping for matrix

Channel layer object to set XY mapping for matrix object.

Now, user can access XY mapping for a matrix object with following ways,

  • layer.x.from/to, layer.y.from/to (newly support)

  • x1/x2, y1/y2

  • wks.col1.x1/x2, wks.col1.y1/y2

ORG-25082

Labtalk support Copy Graph Page

Add Labtalk function to copy a graph page to the clipboard.

Add page level method page.copy(OLE) to copy a graph page to the clipboard.

ORG-25078

Labtalk dataset assignment support skip hidden rows

Support simple dataset assignment to skip hidden rows

System variable @ASH (default is 0) is added, set it to be 1 to skip hidden rows when do simple dataset assignment.

Example,

Code Block
//suppose col(A) has some hidden rows
@ASH = 1;
dataset ds = col(A); //ds will only contain the visible data rows

ORG-25056

LabTalk getting tree from info binary storage as string

Support getting and setting tree from info binary storage as tring

This is mainly for GeoTIFF image import.

For example, import a GeoTIFF image to new image window, run following script to get and set,

Code Block
tree tr = layer.info.tree$; //get
tr.=;
layer.info.tree$ = tr$; //set

...

JIRA

SUMMARY

DESCRIPTION

DETAILS

ORG-24646

Turn off mini toolbar for future sessions

View: Mini toolbar checkbox and system variable will apply to future sessions

Uncheck View: Mini toolbar or set system variable @DMT=1 to disable mini toolbar

ORG-24595

Arrange Windows

Customize how to tile/cascade windows in workspace

Window: Arrange Window… menu is added

  • Tile windows into multiple columns based on different sorting orders including window name, PE order, manually activated order, etc.

  • First sort by window type and then sort by window name order.

  • Cascade in each column by check Overlap Each Column

  • Apply and Restore buttons.

  • Save settings as dialog theme for future use.

ORG-22142

Snap Windows - Beta2

Resizing and Snapping of Windows in Workspace

Window: Snap Windows (Ctrl+F12) menu to turn on/off this feature.

When it’s on, user can drag window to snap it or if windows are tiled or arranged in workspace, it will snap windows in same row/column.

Usage

  1. To snap window to 1/4 or 1/2 of workspace, drag window to border of workspace.

    1. Drag it close to upper border but more to left side, it will snap to the upper-left quarter of space.

    2. Drag it to upper border but the middle part, it will snap to top half of space.

    3. Drag it to upper border but more to the right side, it will snap to the upper-right quarter of the space.

    4. Same applies to left, bottom, right border of workspace to snap to half of space.

  2. To split a snapped window space A with another window B

    1. Drag window B to left side within window A, window A space will be split by B on the left

    2. Drag window B to right side within window A, window A space will be split with B on the right.

    3. Same applies to drag to upper/bottom side within window A.

  3. To switch two window location, press Alt key when dragging.

  4. To put window B to cover window A, drag window B to title bar of window A.

  5. To snap a window to empty space, press Shift key when dragging.

  6. If multiple windows share same border, e.g. after using Tile Vertically, Tile Horizontally or Arrange Windows, mouse over edge of one window will show green border for windows of same column/row. Drag it will resize all of them. To resize only one window, press Shift key and then mouse over to edge of the window to resize.

ORG-24443

Undo deleting of workbook

Ctrl+Z to restore deleted workbook window

Set System variable @WU to disable restore.

ORG-24512

Adjust Apps Icon spacing

Control the horizontal gap between App icons

Click tab or white space in Apps Gallery and choose Apps Icon Spacing…, use the slicer to adjust gap between apps.

System variable @apps to control horizontal gap

@appv is used to set additional vertical gap

After setting it, user can dock Apps Gallery to top of workspace to save space

ORG-24051

Modify all the pre-shipped VI files to add the "Close References" application control

Added Close References to OA_GetColumn.vi

Updated Labview sample files to build-in sample folder.

Can copy these samples to Labview by Tools: Copy Origin Sub-VI LabVIEW vi.lib\addons.

ORG-24702

Option to show Window Preview only when Ctrl key is pressed in Project Explorer

Context menu is added to show window preview only when Ctrl key is pressed when mousing over a window in Project Explorer

In Origin 2022b, Hold Ctrl key for Preview Popup context menu is added in Project Explorer.

When it’s checked, window preview will not show unless hold Ctrl key when mousing over a window in PE.

The corresponding system variable is @PEK. Set it to 1 means it’s checked.

ORG-23943

Adjust windows size and position in Origin according to screen resolution and DPI

Resize and reposition windows to make it display the same layout in workspace in different resolution and DPI.

System variable @SRWS to control

0: old way;

1: fit the width, and scale y with x scale;

2: fit the height, and scale x with y scale;

3(default) : fit the width and height;

In Origin2022b, windows display the same layout in workspace in different resolution and DPI

ORG-20259

Improving for check for update

Inform user about new version of origin is available when check for update

  1. Update menu Help: Check for updates... to Help: Get Help Files/Check Updates

  2. Pop up message box when check for update if new version of Origin is available

2.a select Yes, origin will open web page(https://www.originlab.com/InstallNewVersion ) in browser

2.b select No, Check For Updates dialog will be shown

ORG-24683

Allow directly installation of App from Start Menu

Registered user can directly install app when search from origin start menu

If origin is registered, when searching app in origin Start Menu, user can directly install those apps listed under Apps Category.

ORG-24442

Add Cloud Template to Origin Start menu

show cloud template when user search in Origin start menu

Cloud Template will be shown if there is matched searching in Origin start menu.

if template is already downloaded, click it will open template directly.

otherwise click it will auto download this cloud template

ORG-24738

Allow customization of button to insert OLE object in graph

Allow customization of button to insert OLE object in graph

In Insert Object dialog, add a checkbox Use Current Selection as Default without Opening Dialog (Shift+click to open dialog).

Select this option will not open dialog from next time. But user could still hold shift key to open dialog to change selection or uncheck checkbox. Once this checkbox is selected, 2nd line of button tooltip could be Hold Shift key to open dialog.

This checkbox will be available for “Create New“ choice only, and it will not be saved for the “Display as Icon“ choice.

ORG-24801

Easier way to see folder size

Folder in Project Explorer bottom panel will show size. (Need check “Show Folders“ context menu)

Right click in blank area of bottom panel to show folders in bottom panel.

User can easily view size of folders.

ORG-23458

Support hosting user apps on customer server

Support hosting user apps on customer server

If user have a series in-house use apps, he want to store it in server, and hope origin will get update from his own server, then he may use this feature.

  1. To user this feature, client user should first setup app server path to Origin.ini.

  • Manually Add server path to origin.ini

Code Block
[AppsStorage]
path = \\network\a\b\c\
  • App maker can also add CustomServer key in Package section of package.ini , and Origin will set path key in AppsStorage section of Origin.ini during app installation

Code Block
CustomServer =\\network\a\b\c\

2. Install in-house use app in client origin.

3. Publish higher version app to app server path.

4. Client user will see the update info(red dot) in app icon after restart origin.

5. Right click on app icon and select Download and Install Update to get new version app.