how to export figure to completely vector format with patch plot?

7 ビュー (過去 30 日間)
Jack WILLIAMS
Jack WILLIAMS 2020 年 5 月 10 日
回答済み: Samatha Aleti 2020 年 6 月 16 日
I need to export my figure to vector format for publishing, but it is a probelem that the figure, which is vector format in screen, convert to raster format.
I have tried to use following methods.
  1. print(h_fig, '-painters', '-dpdf', 'print_painters.pdf')
  2. export_fig exp_painters.pdf -painters
  3. export_fig exp_q.pdf -q101Expert_fig
There is the shortcut figure for above.
outlook
Unfortunately, the problem is still exist. It may be a question in here:
```
% p = patch(X,Y,f,'EdgeColor','none','LineStyle','-');
p = patch(X,Y,f);
% shading interp
% S.FaceVertexCData = [0;0;0;0];
% set(p,'LineStyle','none:')
set(p,'EdgeColor','none')
```
Thanks in advance !

回答 (1 件)

Samatha Aleti
Samatha Aleti 2020 年 6 月 16 日
Hi,
There is a MATLAB File exchange function “export_fig” submitted here that might be of help to you.
Hope this helps!

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by