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$
2
  • $\begingroup$ Obviously, the replacements in the workaround for the bug don't work with BarLegends. $\endgroup$ Feb 4, 2015 at 17:57
  • $\begingroup$ It might have something to do with Hold[...] preserving a BarChart in its unexecuted form, but not a BarLegend. $\endgroup$ Feb 4, 2015 at 18:11

1 Answer 1

1
$\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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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