Printing a scatterplot with '-depsc' results in a bitmap
古いコメントを表示
I'd be grateful for help on this:
The commands
scatter([2,3],[3,2],10,[0.1 0.1 0.1;0.8 0.8 0.8],'o','filled');
print(gcf,'-depsc','test')
produce a 6 MB .eps-file, which is a bitmap, not a vector graphic. This seems to be a problem of the color definition.
採用された回答
その他の回答 (2 件)
Bjorn Gustavsson
2011 年 9 月 30 日
0 投票
If everything fails, maybe you could stick with the open-gl/z-buffer renderer and simply remove all text decorations, and then fix things with psfrag or pstricks to fix things in latex. Or import the bitmap to some other vector-based drawing tool. This would be quite an annoyingly laborious route and something I thankfully never have had to do - but it might get the job done.
Timo
2011 年 10 月 6 日
0 投票
1 件のコメント
Bjorn Gustavsson
2011 年 10 月 6 日
Great, you learn something every day - or rather everyday I learn something useful is not completely wasted!
Does this "trick" to propagate true rgb-colours to the patches hit you performance wise in any noticeable way for big scatterplot? Less responsive, slower, something else?
カテゴリ
ヘルプ センター および File Exchange で Graphics Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!