Versions Compared

Key

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

...

JIRA

SUMMARY

DESCRIPTION

DETAILS

ORG-27454

page level property disabledark mode

page.nodark=1 to disable dark mode in a page

Use this to disable dark mode on specific child window.

ORG-27498

Support X-Function load theme from theme file

X-Function support load theme from theme file in the project folder

Suppose there is a theme file MyTheme.ois in the project folder, X-Function can load it now.

Code Block
pa iy:=(1,2) smode:=1 theme:=MyTheme;
expg2img -t MyTheme;

ORG-26310

Internal and LabTalk access for graphic object drawing order

Add new LabTalk property to access the graphic object position drawing order

Syntax: obj.order

Graphic object drawing order.

0x000F mask: 0 = all plots, 1 = plot group, 2 = individual plot, 3 = ref lines

0x00F0 mask: index (0-offset), only for plot group and individual plots cases

0x0100 = before, if not set, then it is after

Example:

Code Block
Rect.order=hex(42)

The rectangle will be drawn after the fifth dataplot: digit 4 is 0-offset dataplot index (which means it is the 5th dataplot), digit 2 at the end means individual dataplots.

Code Block
Rect.order=hex(111)

The rectangle will be drawn before the second group plot: first digit 1 means before, second digit 1 is 0-offset index, the third digit 1 means plot group (which gives the meaning to the index: it is the index of the group).

Code Block
Rect.order=hex(003)

The rectangle will be drawn after the reference lines. The first digit 0 (can be omitted) means after, the second digit 0 is not used (because the third digit is 3), the digit 3 at the end means reference lines.

ORG-26876

LT support 3D OpenGL clip

3D OpenGL graph’s clipping support LabTalk access

Code Block
layer.clip //turn on/off clipping
layer.clip.x1, X2, Y1, Y2, Z1, Z2 //set clipping value

ORG-27137

catrows support options to return different index

Improve the catrows() function to return different index

Code Block
catrows(vd,[option])[$]
//option=0 (default, if not present), current result, return a dataset of all indexes
//option=1, return a dataset containing 1st index of each category
//option=2, return a dataset containing last index of each category

ORG-27144

LT access on plot subset

Add new properties to specify subset by column

Add LT access for the plot creation for SPC stage.

Code Block
layer.plot.subsetcol$=; //by column, range string like [Book1]Sheet1!C
layer.plot.subsetinc=;  //0:none, 1:within subset, 2:between subset
layer.plot.subsetsize=;  //by size
layer.plot.subsetgap=;  //gap%

ORG-27345

Folded Normal Distribution

Folded Normal Distribution function can be used by Labtalk.

  1. Labtalk added Folded Normal distribution usage.

  2. Origin added CDF, PDF, INV VC functions and LT functions

Python

JIRA

SUMMARY

DESCRIPTION

DETAILS

ORG-27294

Python support note window access

Add interfaces on accessing note window using Python.

Code Block
languagepy
op.new_note(name='')
op.find_note(name='')
nt.text
nt.syntax
nt.view
nt.append(text, newline=True)
nt.load(fname, askreplace=False)
nt.exp_html(fname)
nt.destroy()

ORG-27303

op.save() should throw an error in Python when saving to Read-Only project instead of an error message window

Added sysvar property to originpro to get and set system value.

For example:

to get @ECS value.

Code Block
import originpro as op
op.sysvar['ECS']

ORG-27321

op.save() supports slash in path

Python function op.save() supports slash in path

For example:

Code Block
import originpro as op
op.new_sheet()
op.new_graph()
nerr = op.save(r'D:/Nw.opju')

...