Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Washed out colors when saving plots to file

I try to use the save command with a view of a 3d plot, like

mypic = implicit_plot3d(x^2 + y^2 + z^2 == distance, (x, -10, 10), (y, -10, 10), (z, -10, 10), opacity = 0.5) + point3d(vector([0, 0, 0]), color = 'red', size = 10) mypic.save('mypic.png', compress = false)

but the colors (in particular, the opacities) are washed out. There is no problem right-clicking to save as png from the notebook, but I want to save a bunch of pngs.

Washed out colors when saving plots to file

I try to use the save command with a view of a 3d plot, like

 mypic = implicit_plot3d(x^2 + y^2 + z^2 == distance, (x, -10, 10), (y, -10, 10), (z, -10, 10), opacity = 0.5) +  point3d(vector([0, 0, 0]), color = 'red', size = 10)
mypic.save('mypic.png', compress = false)

false)

but the colors (in particular, the opacities) are washed out. There is no problem right-clicking to save as png from the notebook, but I want to save a bunch of pngs.