1
$\begingroup$

Is there an easy way to export a raster DensityPlot or ListDensityPlot but with vector axes, lines and label? I didn't find an easy answer in other questions.

$\endgroup$
6
  • $\begingroup$ See Rasterized density plot with vector axes and Saner alternative to ContourPlot fill and the questions linked there. $\endgroup$
    – MarcoB
    Commented May 23, 2018 at 15:54
  • $\begingroup$ Thank you, Marco. But they don't seem to answer to the question. Is it possible that there is not an easy and compact solution? $\endgroup$
    – user40761
    Commented May 23, 2018 at 15:59
  • 1
    $\begingroup$ rasterizeBackground? $\endgroup$
    – corey979
    Commented May 23, 2018 at 19:48
  • $\begingroup$ Ok, thank you. It works if PlotLegends is not specified in the original Plot. Do you have an idea how to modify rasterizeBackground ? $\endgroup$
    – user40761
    Commented May 24, 2018 at 9:27
  • 1
    $\begingroup$ @jset See my answer here for an improved version of rasterizeBackground, especially the version in the "Update" section. That one can handle legends plots and similar structures without issues $\endgroup$
    – Lukas Lang
    Commented May 24, 2018 at 22:37

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.