The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Turning off automatic data compression
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Sommerfeld

Germany
7 Posts

Posted - 02/25/2025 :  09:19:35 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Sommerfeld

Germany
7 Posts

Posted - 02/25/2025 :  10:22:55 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

snowli

USA
1411 Posts

Posted - 02/25/2025 :  12:29:32 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Sommerfeld,

Thanks for the steps. I can see the difference now. I will check further and update you soon (ORG-30808).

Thanks, Snow
Go to Top of Page

snowli

USA
1411 Posts

Posted - 02/25/2025 :  5:01:22 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Sommerfeld

Germany
7 Posts

Posted - 02/26/2025 :  03:17:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000