While Saving the figure in pdf format (MATLAB 2010A)it shows an error message saying PSlevel must be 1 or 2. What should i do to have my figure in pdf? And after clicking on Exit debug mode it shows the file with the error on line 206/1063..
5 ビュー (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190405/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190406/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190407/image.jpeg)
1 件のコメント
Vishwanath Bailore Acharya
2018 年 5 月 21 日
Can you once try saving the figure using 'hgexport' with just 2 parameters, by removing the style format as follows?
hgexport(hfig, filename);
Please update if you are facing the issue after trying the above command.
回答 (1 件)
Sujay Kadam
2022 年 5 月 26 日
May be this is too late, but I wonder if the following would help:
clear fig_property
fig_property.PSLevel= '1';
hgexport(gcf,'Plot.pdf',fig_property);
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!