2
$\begingroup$

A while ago you guys gave me a splendid workaround to the rasterization bug in exported BarCharts.

Now I noticed that the workaround is not working for BarLegends. My problem is, that

legend =  BarLegend["Rainbow"]
Export["E:\\test.emf", legend];

produces a clearly rasterized file.

Is there any way to get a vector graphic from this simple plot?

$\endgroup$
  • $\begingroup$ Obviously, the replacements in the workaround for the bug don't work with BarLegends. $\endgroup$ – Franz Xaver Feb 4 '15 at 17:57
  • $\begingroup$ It might have something to do with Hold[...] preserving a BarChart in its unexecuted form, but not a BarLegend. $\endgroup$ – Franz Xaver Feb 4 '15 at 18:11
0
$\begingroup$

Since version 10.0.2, BarLegends are finally exported correctly in EPS-files. EMF-export is still broken. Fortunately, it is now possible to generate neat EMF-files from the EPS-files, for example using CorelDraw.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.