Make Pretty (Publishable) Graphs

版本 1.0.0.0 (1.7 KB) 作者: Ruth Livingstone
Easily create publishable ready figures. Great used with export_fig or on its own.
1.4K 次下载
更新时间 2012/3/29

查看许可证

Easily Create Publishable Ready Figures. Change Font Size, Line Width and Background Color. Makes all Axis Labels the same Precision.

Great used with export_fig, but even on its own it makes great looking figures. Easily make a set of consistent figures for reports, publications, or other applications where it is important to have professional looking graphs.
This file doesn't require any toolboxes or extra files.

syntax: pubgraph(FigureHandle, FontSize, LineWidth, Color)

Example:
x=rand(50,1);x=sort(x);
y=rand(50,1);y=sort(y);
h=figure; plot(x,y,'o')
xlabel('Time (s)'), ylabel('People')
pubgraph(h,14,2,'w')

Note: This doesn't save the figures. You can do this using the save button on the figure toolbar or using export_fig or other Matlab Central Files.

Also: I have a pretty old version of Matlab, if someone with a newer version could check it out and see if it throws errors, and leave a comment, that would be great!

Author: Ruth Livingstone

引用格式

Ruth Livingstone (2025). Make Pretty (Publishable) Graphs (https://www.mathworks.com/matlabcentral/fileexchange/35903-make-pretty-publishable-graphs), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
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