Minimal working example:
Export["test.pdf", DensityPlot[1/(x^2 + y^2 + 1), {x, -5, 5}, {y, -5, 5}, PlotRange -> All]]
Export["test.svg", DensityPlot[1/(x^2 + y^2 + 1), {x, -5, 5}, {y, -5, 5}, PlotRange -> All]]
The pdf has vector text (paths, I guess), but the svg file is very pixelated, and really just seems to be a png or some such imported into an empty svg file. How can I get Mathematica to output the axes and especially the labels as paths?
I've tried this answer, which does the trick, but totally mangles the plot itself
Edit: Following Jens comment below, using contourDensityPlot
from this answer worked fine for both pdf and svg formats, both for axes and labels and for the plot itself.
PDF
import. This bug doesn't appear in version 8, but I do see it in version 10. $\endgroup$ – Jens Mar 11 '15 at 17:29contourDensityPlot
from this answer? $\endgroup$ – Jens Mar 11 '15 at 17:40contourDensityPlot
approach as a workaround... you application is not directly a duplicate, and there may be other answers as work-arounds to your issue. $\endgroup$ – Jens Mar 12 '15 at 16:15