Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将 matlab 图形导出为 pdf/eps 而不会丢失图形的任何部分?如果我最大化图形窗口,我会失去一部分图形,如果我最小化,我会得到一个没有填满所有空间的图形,如果我保存为 jpg,我会得到一个非常好的缩放图形,但分辨率很差。
Position您可以使用vector 属性控制纸上图形的大小[left bottom width height]。例如:
Position
[left bottom width height]
set(gcf,'Position',[0,0,560,900])
然后将重新调整大小的图形导出为 pdf。