Bug 411122 - Export resolution PNG
Summary: Export resolution PNG
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: general (show other bugs)
Version: 2.5.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Semke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-21 03:30 UTC by Alex
Modified: 2019-08-22 09:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.7


Attachments
Export window (251.68 KB, image/png)
2019-08-21 03:58 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2019-08-21 03:30:07 UTC
SUMMARY
I updated from Fedora 28 to Fedora 30 and consequently the LabPlot version was updated from 2.4 to 2.5. Unfortunately, when I export a plot to PNG file I can not set the resolution as I did it in version 2.4. Could you help me if there are settings that control the export resolution in LabPlot 2.5?

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Alex 2019-08-21 03:58:31 UTC
Created attachment 122269 [details]
Export window
Comment 2 Alexander Semke 2019-08-21 06:17:05 UTC
Git commit 4996a2234d37c41f2750e41f92040e50553e5b69 by Alexander Semke.
Committed on 21/08/2019 at 06:16.
Pushed by asemke into branch 'master'.

Fixed the  missing option for the resolution of PNG files in the export dialog.
FIXED-IN: 2.7

M  +1    -0    ChangeLog
M  +3    -2    src/kdefrontend/worksheet/ExportWorksheetDialog.cpp

https://commits.kde.org/labplot/4996a2234d37c41f2750e41f92040e50553e5b69
Comment 3 Alexander Semke 2019-08-21 06:19:37 UTC
I just did a quick fix for this regression. Thanks a lot for reporting this!

The current release is 2.6:
https://labplot.kde.org/2019/04/19/labplot-2-6-released/

Please check if a package is provided for your distribution. The fix for the problem you reported will be part of 2.7 that should come in the next days/weeks.
Comment 4 Alex 2019-08-21 08:21:41 UTC
Thanks for your response! Unfortunately, package manager of Fedora 30 lets me install only LabPlot 2.5 without any updating to 2.6. The similar situation was for Fedora 28, where I could not update LabPlot to version 2.5. I tried to download LabPlot2.6 from your website but when I click to the link "Fedora" in 'Downloads' only error '404 Not Found' arises. So, Is there any other ways to install LabPlot 2.6 (2.7) on Fedora 30?
Comment 5 Alexander Semke 2019-08-21 10:50:54 UTC
(In reply to Alex from comment #4)
> Thanks for your response! Unfortunately, package manager of Fedora 30 lets
> me install only LabPlot 2.5 without any updating to 2.6. The similar
> situation was for Fedora 28, where I could not update LabPlot to version
> 2.5. I tried to download LabPlot2.6 from your website but when I click to
> the link "Fedora" in 'Downloads' only error '404 Not Found' arises. So, Is
> there any other ways to install LabPlot 2.6 (2.7) on Fedora 30?
I fixed the link to the Fedora project, thanks for the pointer. We don't provide any packages for different distributions. I asked the package maintainer at Fedora now to check the feasiblity of a last release version of LabPlot.

As an alternative you only have the option to use the snap image mentioned on our download page or to compile from the source code.
Comment 6 Alex 2019-08-21 11:06:12 UTC
Thanks a lot! But is there a way to fix resolution bug on the installed LabPlot2.5?
Comment 7 Alexander Semke 2019-08-21 11:18:51 UTC
(In reply to Alex from comment #6)
> Thanks a lot! But is there a way to fix resolution bug on the installed
> LabPlot2.5?
Unfortunately not. There only workaround is to export in LabPlot to SVG or PDF and convert later to PNG outside of LabPlot by using for example the 'convert' utility for the ImageMagic package.
Comment 8 Alex 2019-08-22 02:20:04 UTC
Yes, I have used this workaround with Inkscape. It works well. So, I am waiting for the LabPlot 2.7 and I will try to compile it from the source code. In addition, I'd like to say you about some wishes to LabPlot. Before Labplot I used OriginPro and there is a suitable for my work feature "Exchange Axis". It allows to set X-axis as vertical on a plot and Y-axis as horisontal. At that, X-axis is still independent. It is suitable when I want to plot data distribution on a normal distance to a surface and it is important to keep independence to plot some functions. May be you can add such feature to LabPlot? I appriciate for your help and work! Good luck!
Comment 9 Alexander Semke 2019-08-22 07:51:51 UTC
(In reply to Alex from comment #8)
> Yes, I have used this workaround with Inkscape. It works well. So, I am
> waiting for the LabPlot 2.7 and I will try to compile it from the source
> code. In addition, I'd like to say you about some wishes to LabPlot. Before
> Labplot I used OriginPro and there is a suitable for my work feature
> "Exchange Axis". It allows to set X-axis as vertical on a plot and Y-axis as
> horisontal. At that, X-axis is still independent. It is suitable when I want
> to plot data distribution on a normal distance to a surface and it is
> important to keep independence to plot some functions. May be you can add
> such feature to LabPlot?
I added this feature request to our backlog. Maybe we can even implement this in 2.8.

Until then you can check our histogram. For histograms we allow to change the orientation from horizontal to vertical. So, if you plot your data as a histogram and use a small binning, you'll get the visualization of your distribution you want maybe. Here are some screenshots of the histogram also showing the different orientations:
https://labplot.kde.org/2018/10/06/histogram/

You can also play around with the visualization of the historgram like use points instead of bars and so on.

>I appriciate for your help and work! Good luck!
Thanks. Feel free to place other feature requests either here on bugs.kde.org or in our room in Matrix https://webchat.kde.org/#/room/!jDLqWTaTGNKnenBSNA:kde.org. The matrix room is also good for any kind of general questions and discussions.
Comment 10 Alex 2019-08-22 09:13:15 UTC
Thanks a lot for the recommendation on histogram!