saveaspdf

版本 1.0.0.0 (2.7 KB) 作者: Laurent S
Save a figure as a clean pdf file ready for publication.
527.0 次下载
更新时间 2011/7/7

查看许可证

Like Matlab's saveas.m, but better:

- Print figures as pdf in their correct dimensions (and not on A4 paper like Matlab does).
- If you prefer, you can specify the size of the printed pdf, independent of its size on screen.
- Optionally increase line thickness and font size for better readability.
- Optionally set figure background color to transparent for use in presentations.

Example:

figure('Name','A sine');
plot(sin(linspace(0,2*pi,100)));
saveaspdf; % Saves 'A sine.pdf' on your Desktop

引用格式

Laurent S (2024). saveaspdf (https://www.mathworks.com/matlabcentral/fileexchange/32113-saveaspdf), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0