This is a followup question to this answer.
The code works great but I now want to export the resulting DensityPlot. I have tried clicking the plus on the right of the image and selecting paste snapshot and then to export it to an .eps using Export["~/Desktop/img.eps",%]. This created an image on my desktop but it was 97 Mb.
Is there a more simple way to export this plot and also to have a smaller file?
rasterizeBackgroundfunction from this question – Lukas Lang Jul 07 '21 at 17:08myFig = DensityPlot[..]thenExport[~/Desktop/img.eps, myFig, "EPS"]? Try that. If it is too large, try.../img.png, myFig, "PNG"]– David G. Stork Jul 08 '21 at 04:21