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
 unwanted lines when exporting 2D to vector
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

qbert

4 Posts

Posted - 12/21/2021 :  1:04:15 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi all,

I am trying to export a 2D plot (heatmap or colormap) as a vector. My image appears pretty nice on the screen:



and it looks the same if exported to a raster format (e.g. png). But if I try to export it to a vector format (pdf, eps, ...), there are many annoying lines appearing between adjacent rows/columns of data:



Apparently these lines are very narrow because they appear in a different way when I zoom in or out the vector image. This issue is pretty annoying for publication-quality images.

Do you have any suggestions how to get rid of them? Thanks a lot.

YimingChen

1609 Posts

Posted - 12/21/2021 :  1:52:49 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Which version of Origin do you use? If you export to .emf format, is the issue still there? Can you share with us your project file? Thank you.

James
Go to Top of Page

qbert

4 Posts

Posted - 12/22/2021 :  09:58:54 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I use Origin 2021b.

Unfirtunately EMF files are not accepted by the publisher I am in touch with. The exported EMF file also seems to be fully raster, not vector. Therefore I don't see this issue neither with EMF nor with any other raster format.

Here is the project file: https://my.originlab.com/ftp/forum_and_kbase/Images/example.opju
Go to Top of Page

YimingChen

1609 Posts

Posted - 12/22/2021 :  10:53:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

Thank you for sharing the project. We tested and here is what we found:
1. The exported pdf format is fine under Acrobat reader.
2. The eps format file does show those narrow lines, but it is just artifacts depending on how image viewer render the image. If I keep zoom in on the image, the lines will be gone.

Thank you,
James
Go to Top of Page

qbert

4 Posts

Posted - 12/22/2021 :  11:24:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks a lot for testing that.

It really seems that the image appearance depends on the renderer. PDF files look good in Acrobat or Foxit Reader. However, they have these tiny lines in Sumatra PDF, embedded Firefox reader, or the renderer used by Overleaf.

By the way, is there any option of exporting images to a vector format with a raster part (e.g. for keeping the fonts and lines as vectors, and 2D images as a raster)? This could be useful to keep the same appearance in different readers.
Go to Top of Page

YimingChen

1609 Posts

Posted - 12/22/2021 :  2:03:55 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can paste a raster image to an existing graph in Origin. For example, you can right click on the title bar of the heatmap graph, and select Copy Graph as Image..., then in the dialog, select a raster image Format like png. Then paste it to a different graph and export, the image area will stay as raster in the exported graph.




Edited by - YimingChen on 12/22/2021 2:04:03 PM
Go to Top of Page

qbert

4 Posts

Posted - 12/22/2021 :  2:42:25 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
OK, thank you!
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