Bug 476355 - Diagram two y-axis not opened correctly.
Summary: Diagram two y-axis not opened correctly.
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: backend (show other bugs)
Version: 2.10.1
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Stefan Gerlach
URL:
Keywords: reproducible, usability
Depends on:
Blocks:
 
Reported: 2023-10-31 07:44 UTC by Thomas
Modified: 2024-02-09 14:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Result opeing a diagram with 2 y axis (29.53 KB, image/jpeg)
2023-10-31 07:44 UTC, Thomas
Details
Bild_12_beispiel2.opj (83.30 KB, application/octet-stream)
2023-11-10 21:48 UTC, Thomas
Details
Figure_19_beispiel.opj (240.74 KB, application/octet-stream)
2023-11-10 21:48 UTC, Thomas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2023-10-31 07:44:46 UTC
Created attachment 162758 [details]
Result opeing a diagram with 2 y axis

As far as I read, labplot supports a second y-axis. It also supports the import or opening of Origin Lab projects (Origin Lab 2021b). However, if I open an Origin Lab project with two y-axes, two graphs are created instead of one graph. I don't know if I must consider my request a wish or a bug. Anyway, it should be able to open diagrams with a second y-axis correctly. Origin is created to increase and improve the diagram design possibilities.  Else, one can always use Excel. Thus, Labplot should be better than Excel concerning special features like that. Origin Lab has to be paid on a yearly basis and is very expensive (in part > 1000 Euro), unaffordable for any private person. As far as I see, there is no open-source equivalent to Origin Lab. SciDaVis is the worst - probably too old or even intentionally bad (being a clone of Origin Lab...). Labplot seems to be the best of those, but most programs, Labplot included, do only achieve basic things. However, due to Excel which also does all such things well, such a program does only become interesting, if it can also create and open diagrams with advanced features: A diagram with a second y-axis, with categories on the x-axis AND two y-axis etc. 
Compared to Origin Lab this is still very little, in view of the mathematic capabilities.
Comment 1 Alexander Semke 2023-11-10 07:50:59 UTC
(In reply to Thomas from comment #0)
> Created attachment 162758 [details]
> Result opeing a diagram with 2 y axis
> 
> As far as I read, labplot supports a second y-axis. It also supports the
> import or opening of Origin Lab projects (Origin Lab 2021b). However, if I
> open an Origin Lab project with two y-axes, two graphs are created instead
> of one graph. I don't know if I must consider my request a wish or a bug.
> Anyway, it should be able to open diagrams with a second y-axis correctly.
> Origin is created to increase and improve the diagram design possibilities. 
> Else, one can always use Excel. Thus, Labplot should be better than Excel
> concerning special features like that. Origin Lab has to be paid on a yearly
> basis and is very expensive (in part > 1000 Euro), unaffordable for any
> private person. As far as I see, there is no open-source equivalent to
> Origin Lab. SciDaVis is the worst - probably too old or even intentionally
> bad (being a clone of Origin Lab...). Labplot seems to be the best of those,
> but most programs, Labplot included, do only achieve basic things. However,
> due to Excel which also does all such things well, such a program does only
> become interesting, if it can also create and open diagrams with advanced
> features: A diagram with a second y-axis, with categories on the x-axis AND
> two y-axis etc. 
> Compared to Origin Lab this is still very little, in view of the mathematic
> capabilities.

Thanks for reporting this issue. Would it be possible to attach your example Origin project to this ticket?
Comment 2 Thomas 2023-11-10 21:48:29 UTC
Created attachment 163024 [details]
Bild_12_beispiel2.opj

Hallo,
Thanks very much for your email.
I send you two types of diagrams with a second Y axis which are not
correctly opened,
I would appreciate very, very much, if such diagrams could be opened.
Can you open opju?
I would like to help but I know nearly nothing from C++ only Java.
Good Luck!

Sincerely

Thomas



Am Fr., 10. Nov. 2023 um 08:51 Uhr schrieb Alexander Semke
<bugzilla_noreply@kde.org>:
>
> https://bugs.kde.org/show_bug.cgi?id=476355
>
> --- Comment #1 from Alexander Semke <alexander.semke@web.de> ---
> (In reply to Thomas from comment #0)
> > Created attachment 162758 [details]
> > Result opeing a diagram with 2 y axis
> >
> > As far as I read, labplot supports a second y-axis. It also supports the
> > import or opening of Origin Lab projects (Origin Lab 2021b). However, if I
> > open an Origin Lab project with two y-axes, two graphs are created instead
> > of one graph. I don't know if I must consider my request a wish or a bug.
> > Anyway, it should be able to open diagrams with a second y-axis correctly.
> > Origin is created to increase and improve the diagram design possibilities.
> > Else, one can always use Excel. Thus, Labplot should be better than Excel
> > concerning special features like that. Origin Lab has to be paid on a yearly
> > basis and is very expensive (in part > 1000 Euro), unaffordable for any
> > private person. As far as I see, there is no open-source equivalent to
> > Origin Lab. SciDaVis is the worst - probably too old or even intentionally
> > bad (being a clone of Origin Lab...). Labplot seems to be the best of those,
> > but most programs, Labplot included, do only achieve basic things. However,
> > due to Excel which also does all such things well, such a program does only
> > become interesting, if it can also create and open diagrams with advanced
> > features: A diagram with a second y-axis, with categories on the x-axis AND
> > two y-axis etc.
> > Compared to Origin Lab this is still very little, in view of the mathematic
> > capabilities.
>
> Thanks for reporting this issue. Would it be possible to attach your example
> Origin project to this ticket?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Thomas 2023-11-10 21:48:30 UTC
Created attachment 163025 [details]
Figure_19_beispiel.opj
Comment 4 Alexander Semke 2023-11-26 12:19:58 UTC
Current proposal to handle this problem - https://invent.kde.org/education/labplot/-/merge_requests/429
Comment 5 Thomas 2023-12-01 17:10:51 UTC
Hello,
I don't see what has happened.
I understand that it is necessary to import the file.

If I understood correctly, I cannot open origin files with several
plots and two axes for each plot?
Fortunately, I only need to open files with one plot
and two y axes.

With the published version 2.10 it doesn't
work since to import data a file must be loaded.
If the version 2.105 is not useable for this,
 I would need - at least in the moment the Windows setup file of the
newest version,
which is as it seems 2.11 after my bug submission.
Could you please make this file for 64 bit available?
Could you send me a notification please?

I tried to compile Labplot from source code but cmake is
not correctly installed.
I will need some time to compile it.
If this works how can I get more information to work on the
program?

Sincerely

Thomas WIllms

Since OriginLab is incredibly expensive I might want to donate,
but in this case I would like to have another feature available.
I would be interested in the possibility to have the possibility
to import data with different categories like the file I sent you
and two Y axis.:


Am So., 26. Nov. 2023 um 13:20 Uhr schrieb Alexander Semke
<bugzilla_noreply@kde.org>:
>
> https://bugs.kde.org/show_bug.cgi?id=476355
>
> --- Comment #4 from Alexander Semke <alexander.semke@web.de> ---
> Current proposal to handle this problem -
> https://invent.kde.org/education/labplot/-/merge_requests/429
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 6 Alexander Semke 2023-12-14 19:39:59 UTC
(In reply to Thomas from comment #5)
> Hello,
> I don't see what has happened.
> I understand that it is necessary to import the file.
> 
> If I understood correctly, I cannot open origin files with several
> plots and two axes for each plot?
> Fortunately, I only need to open files with one plot
> and two y axes.
It's about multi-layers in Origin which are either used to implement multiple plots or multiple axes (more details in https://invent.kde.org/education/labplot/-/merge_requests/429). In last/current release version of LabPlot 2.10 it's only possible to read multi-layers used for multiple plots only.


> With the published version 2.10 it doesn't
> work since to import data a file must be loaded.
> If the version 2.105 is not useable for this,
>  I would need - at least in the moment the Windows setup file of the
> newest version,
> which is as it seems 2.11 after my bug submission.
> Could you please make this file for 64 bit available?
> Could you send me a notification please?

The next release 2.11 is independent of your bug report (or features request). We developed many different feature and fixed multiple bugs after 2.10 and this all will go into the next release 2.11. Reading of multiple axes was implemented recently and will also be part of 2.11. If you want to try out this feature earlier,  you can use our "nightly builds" of the development version that are available on our homepage in the download section https://labplot.kde.org/download/. I think this is easier for you than to compile from sources locally. We also provide win64 installer on the daily base.

If you want to be notified about the final release of 2.11, just follow us on Mastodon or X or subscribe the RSS feed of our homepage.

 
> Since OriginLab is incredibly expensive I might want to donate,
> but in this case I would like to have another feature available.
> I would be interested in the possibility to have the possibility
> to import data with different categories like the file I sent you
> and two Y axis.:
As I mentioned above, we implemented reading of multi-axes plots and your Beispiel-Projekt "Figure_9_beispiel" can be already properly imported. However, there are still some smaller issues with this project related to the font sizes and the line widths that we still want to check and to improve. But the overall structure of the plot with two y-axes is correct now. Please note, you need to use that option "Graph Layer as Coordinate System" for you project two properly read the two layers.

How to donate is described on our homepage - https://labplot.kde.org/donate/.
Comment 7 Thomas 2023-12-15 09:04:52 UTC
Gerat to hear from you!
Thus, I understood it correctly.
Thanks very much for your explanation.
What I meant is: Can Figure 6 also be imported - with two categories?
I will wait for the new version.Is there any idea when it will get released?

Sincerely

Thomas WIllms

Am Do., 14. Dez. 2023 um 20:40 Uhr schrieb Alexander Semke
<bugzilla_noreply@kde.org>:
>
> https://bugs.kde.org/show_bug.cgi?id=476355
>
> --- Comment #6 from Alexander Semke <alexander.semke@web.de> ---
> (In reply to Thomas from comment #5)
> > Hello,
> > I don't see what has happened.
> > I understand that it is necessary to import the file.
> >
> > If I understood correctly, I cannot open origin files with several
> > plots and two axes for each plot?
> > Fortunately, I only need to open files with one plot
> > and two y axes.
> It's about multi-layers in Origin which are either used to implement multiple
> plots or multiple axes (more details in
> https://invent.kde.org/education/labplot/-/merge_requests/429). In last/current
> release version of LabPlot 2.10 it's only possible to read multi-layers used
> for multiple plots only.
>
>
> > With the published version 2.10 it doesn't
> > work since to import data a file must be loaded.
> > If the version 2.105 is not useable for this,
> >  I would need - at least in the moment the Windows setup file of the
> > newest version,
> > which is as it seems 2.11 after my bug submission.
> > Could you please make this file for 64 bit available?
> > Could you send me a notification please?
>
> The next release 2.11 is independent of your bug report (or features request).
> We developed many different feature and fixed multiple bugs after 2.10 and this
> all will go into the next release 2.11. Reading of multiple axes was
> implemented recently and will also be part of 2.11. If you want to try out this
> feature earlier,  you can use our "nightly builds" of the development version
> that are available on our homepage in the download section
> https://labplot.kde.org/download/. I think this is easier for you than to
> compile from sources locally. We also provide win64 installer on the daily
> base.
>
> If you want to be notified about the final release of 2.11, just follow us on
> Mastodon or X or subscribe the RSS feed of our homepage.
>
>
> > Since OriginLab is incredibly expensive I might want to donate,
> > but in this case I would like to have another feature available.
> > I would be interested in the possibility to have the possibility
> > to import data with different categories like the file I sent you
> > and two Y axis.:
> As I mentioned above, we implemented reading of multi-axes plots and your
> Beispiel-Projekt "Figure_9_beispiel" can be already properly imported. However,
> there are still some smaller issues with this project related to the font sizes
> and the line widths that we still want to check and to improve. But the overall
> structure of the plot with two y-axes is correct now. Please note, you need to
> use that option "Graph Layer as Coordinate System" for you project two properly
> read the two layers.
>
> How to donate is described on our homepage - https://labplot.kde.org/donate/.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 8 Stefan Gerlach 2024-01-31 23:17:27 UTC
 Figure_19_beispiel.opj is now properly imported into LabPlot development version (see https://invent.kde.org/education/labplot/-/issues/839). We will also take a look at the other projects soon.
Comment 9 Stefan Gerlach 2024-02-09 14:44:51 UTC
The import in the development version is now much improved. See gallery at https://invent.kde.org/education/labplot/-/wikis/Import/OPJ.
Remaining issues are documented now in https://invent.kde.org/education/labplot/-/issues/860.