Project Saved to Cloud To Support more local file properties


Version: 2025b

Type: Features

Category: Programming

Subcategory: Ease of Use

Jira:


preview and modified and size.jpg

python add_plot() failed to use plot type in template


Version: 2025b

Type: Bug Fixes

Category: Programming

Subcategory: Python

Jira:


import os
import originpro as op

wks = op.new_sheet()
wks.from_file(os.path.join(op.path('e'), 'Samples', 'Graphing', 'Group.dat'))
graph = op.new_graph(template='scatter')
gl=graph[0]
plot = gl.add_plot(f'{wks.lt_range()}!(?,2:end)')

==>It added 1 scatter plot and 2 line plots.

Fixed in Origin 2025b, will add three scatter plots for above case.