Color legend location changes in the exported PDF or EPS file

I am using the Paraview 5.6.0 64-bit. I can successfully load my vtk file and visualize the data. This is what I see in the layout window

I saved this visualization by going to File and then Export Scene. I noticed that when I choose either PDF or EPS format, the location of the legend in the generated file changes to the lower left corner.

This issue has been apparently reported before too at https://scicomp.stackexchange.com/questions/27558/color-legend-location-in-eps-files-exported-from-paraview-v5-4

This bug has been reported to Kitware here: https://gitlab.kitware.com/paraview/paraview/issues/17639. It is scheduled to be fixed for the spring release. Obviously, this will depend on the total list of fixes requered for the spring release. Kitware folks are amazing, but not infinite in resource!

Alan

I have also been affected by this. In fact I went and downloaded older versions of Paraview and couldn’t find a version that does actually work. What are other people doing to get publication quality exports from Paraview?

Hi Simon, if you use image editors (like Inkscape, Gimp, Adobe Illustrator, etc) to assemble your publication figures, you can import the generated pdf/eps/svg etc format and then do an ungroup operation on the imported image. The colorbar now should be separated from the main figure and can be moved to the location you originally want to place. Then you can regroup and continue with your editing.

You can use these image editors to output the final version of the image. I guess these days it’s common to have complex multiple subfigures grouped together as one figure, so this is not adding much extra work.

1 Like

Dear Patrick,
Thank u for your suggestion, however It seems there is no tool in gimp to do ungroup operation on pdf/svg. At the same time, apparantly, inkscape does.
Best,
Ali

Hi all, do you know when this issue will be resolved ?

See the bug report listed above. Currently, it is targetted for September, but that release is filling up quickly. If the developers don’t have time to fix it, I am sure they would appreciate someone contributing a fix… :slight_smile:

This will be fixed in ParaView 5.8.1, due out by about the end of April 2020.

1 Like

@cory.quammen Is the release delayed? Tried it with Paraview 5.8.0 but same issue. Thanks.

Indeed, 5.8.1 won’t be released until early June. The upside is it will include even more bug and stability fixes.

In the meantime, you can use a nightly build that includes the fix from www.paraview.org (select the “nightly” section in the pop-up menu).