T O P I C R E V I E W |
qbert |
Posted - 12/21/2021 : 1:04:15 PM 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. |
6 L A T E S T R E P L I E S (Newest First) |
qbert |
Posted - 12/22/2021 : 2:42:25 PM OK, thank you! |
YimingChen |
Posted - 12/22/2021 : 2:03:55 PM 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.
|
qbert |
Posted - 12/22/2021 : 11:24:34 AM 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. |
YimingChen |
Posted - 12/22/2021 : 10:53:49 AM 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 |
qbert |
Posted - 12/22/2021 : 09:58:54 AM 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 |
YimingChen |
Posted - 12/21/2021 : 1:52:49 PM 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 |