Hello,

I am using paraview 3.6 compiled with VTK_GL2PS_ON.

When I uncheck "Interpolate Colors" in Object Inspector for the object I want 
to plot, I am able to generate colored high quality eps images using the 
following command in the python shell:

from libvtkRenderingPython import vtkGL2PSExporter
exporter = vtkGL2PSExporter()
exporter.SetFileFormatToPS()
exporter.SetFilePrefix("testImage")
view = GetActiveView().GetRenderWindow()
exporter.SetRenderWindow(view)
exporter.Write()

However, the legend is colored white.  My guess is that I am still 
interpolating colors for the legend and I do not know how to specify not to do 
it?

Thanks a lot for your help!

-Martin


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to