Code covered by the BSD License  

Highlights from
Make Pretty (Publishable) Graphs

4.33333
4.3 | 3 ratings Rate this file 29 Downloads (last 30 days) File Size: 1.73 KB File ID: #35903
image thumbnail

Make Pretty (Publishable) Graphs

by

 

Easily create publishable ready figures. Great used with export_fig or on its own.

| Watch this File

File Information
Description

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

Required Products MATLAB
MATLAB release MATLAB 7.4 (R2007a)
Other requirements none
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
30 Jan 2015 Beenwa

Beenwa (view profile)

THX,Ruth,this function is quite useful.

23 Jun 2014 Samuel Bandara  
26 Apr 2012 Ruth Livingstone

Thanks Baharuddin. I'm working on an update - watch this space :o)

Comment only
29 Mar 2012 Baharuddin Ali

Baharuddin Ali (view profile)

Simple command with pretty results..good job, thanks. May can develop with just click copy & paste publisable preety results.

Contact us