How to export colorbar as vector graphic?

3 views (last 30 days)
MJW
MJW on 28 Apr 2015
I wish to save a figure as ".eps" with the colorbar as vector graphics which could be editable in Adobe Illustrator. When I save my figure, everything appears as vector art except for the colorbar which has all colors combined as one raster image.
set(gcf,'Renderer','painters');
print('-depsc',filename);

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!