Author |
Topic  |
|
Sommerfeld
Germany
7 Posts |
Posted - 02/25/2025 : 09:19:35 AM
|
Origin Ver.2019,2022b,2025 and 9.9.5.167: Operating System: Win 10 64 Bit
Hello everyone,
when I plot a small graph (5x5 cm) with a high amount of data points, e.g. xy data with 2000 values. The plotted line appears to be compressed within Origin itself and also when exported as a vector or pixel image. (The performance mode is turned off.) If I instead change the graph size to a larger size, e.g. 50x50 cm, the line looks much smoother and uncompressed.
Could somebody please tell me which compression settings in Origin might be causing this problem?
Kind Regards Sommerfeld |
|
snowli
USA
1411 Posts |
Posted - 02/25/2025 : 10:01:42 AM
|
Hello,
By Performance mode off, do you mean speed mode is off?, which means all points are plotted, no sampling.
Could you also let me know which image type did you export?
For 5x5cm graph, png export, i tried increase DPI will make the lines smoother.
Thanks, Snow |
 |
|
Sommerfeld
Germany
7 Posts |
Posted - 02/25/2025 : 10:22:55 AM
|
Hi,
ah yes, I meant the speed mode is off. For the export I tested .eps and .png, each with 600 dpi. The exported images share the exact same compressed look that is already displayed within Origin itself. So I guess the problem already exists before the actual export.
Thanks for your time.
One small addition. The fastest way to reproduce the compression effect is to plot y=x^2 up to y=100 and set the graph size to 5x5 mm with a linewidth of 0.01. And compare it so the same graph scaled to 50x50 mm. This would then be the result: https://my.originlab.com/ftp/forum_and_kbase/Images/compression_example.png
Kind Regards Sommerfeld |
Edited by - Sommerfeld on 02/25/2025 10:44:10 AM |
 |
|
snowli
USA
1411 Posts |
Posted - 02/25/2025 : 12:29:32 PM
|
Hi Sommerfeld,
Thanks for the steps. I can see the difference now. I will check further and update you soon (ORG-30808).
Thanks, Snow |
 |
|
snowli
USA
1411 Posts |
Posted - 02/25/2025 : 5:01:22 PM
|
Hi Sommerfeld,
The following LT can resize the graph DPI (page.resx) which will make the graph look better. v3=layer.unit; //save it layer.unit=1; page.width*=10; page.height*=10; page.resX*=10; page.resY*=10; layer.unit=v3;//restore page.zoom=0;//viwe fullpage
There is this FAQ of why the export quality of graph with small size fail to be as good as the one of large size? https://www.originlab.com/doc/Quick-Help/Small-Layer-Size-Export-Quality
Please check if export with higher resolution helps.
Thanks, Snow |
 |
|
Sommerfeld
Germany
7 Posts |
Posted - 02/26/2025 : 03:17:11 AM
|
Hi Snow,
thank you very much for your time and help. The LT script fixes the problem. After seeing the FAQ example, I just realised that Origin also accepts custom DPI values (, previously I only exported up to 600 DPI, because it was one of the default options...). Now if I export the image at e.g. 6000 DPI the graphs looks smooth and clean.
Kind Regards Sommerfeld |
Edited by - Sommerfeld on 02/26/2025 03:18:02 AM |
 |
|
|
Topic  |
|