Skip to content

Import of Origin graphs with multiple layers

Alexander Semke requested to merge work/origin-multi-layers into master

Description

Multiple layers are used in Origin to

  1. either implement multiple plots
  2. or multiple axes on the same plot

image

See https://www.originlab.com/doc/Origin-Help/MultiLayer-Graph\ for more details.

At the moment we're importing every layer as a new plot area and with this don't properly support plots with multiple axes (data ranges) on the same plot. Liborigin doesn't have the proper support for these two variants in Origin and the invest to implement this in liborigin is very high. In LabPlot we would be able to import one of the options at the same time.

To remedy this problem we introduce a new parameter to control how to import such multiple layers - either as a new plot area or as a new coordinate system on the same plot so the user can decide how to import depending on the content of the project file.

image

image

With this we still won't be able to handle Origin projects where both variants are used at the same time but we at least can properly handle projects where one of them is used.

two-axes.opj - project file to test this feature. Another project file can be found in https://bugs.kde.org/show_bug.cgi?id=476355 which is going to be addressed with this MR.

Conformity

When external dependencies are removed

  • Reporting to ...
Edited by Alexander Semke

Merge request reports