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..
조회 수: 7(최근 30일)
표시 이전 댓글



댓글 수: 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
참고 항목
범주
Find more on Scope Variables and Generate Names in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!