5.0

5.0 | 1 rating Rate this file 124 downloads (last 30 days) File Size: 2.6 KB File ID: #18617

HELPER functions for SETAXES

by Mukhtar Ullah

 

05 Feb 2008 (Updated 05 Feb 2008)

No BSD License  

Three HELPER functions for the function SETAXES on the ML file exhange

Download Now | Watch this File

File Information
Description

This submission includes three files which can be useful in general and to those using SETAXES by the same author in particular.
The functions are named
PREPFIGURE, PREPAXES, PRINTFIG.
 
To illustrate how it can simplify the use of SETAXES, your code should like the following.

prepfigure([8 6], 'cm')
ax = prepaxes;
% or ax = prepaxes(prop1, val1, ...);
% repeat prepaxes for each axes you want % to create.

%---------------------------------------
% your plotting commands postponing any % annotation objects like arrows
%--------------------------------------

fh = setaxes(ax);
% repeat this for each axes you have
% created

fh.yoffset();
fh.xoffset();
% or any other commands allowed by
% setaxes

% create annotation objects if required

printfig('filename', 'preveiw')

MATLAB release MATLAB 7.5 (R2007b)
Zip File Content  
Other Files prepfigure.m,
printfig.m,
prepaxes.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
05 Feb 2008 Mukhtar Ullah

I forgot to mention two things about this post.
If you have the FIXPSLINESTYLE http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=17928&objectType=file
in your working directory, then PRINTFIG will apply that to the eps output. If you have MiKTeX installed (and on your path), then the pdf output is generated from the pdf output by using epstopdf.
I would encourage users to download FIXPSLINESTYLE because it improves your output.

05 Feb 2008 SAHEB SINGH  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
annotation Mukhtar Ullah 22 Oct 2008 09:46:32
customization Mukhtar Ullah 22 Oct 2008 09:46:32
prepare axes Mukhtar Ullah 22 Oct 2008 09:46:32
prepare figure Mukhtar Ullah 22 Oct 2008 09:46:32
print figure Mukhtar Ullah 22 Oct 2008 09:46:33
preview pdf Mukhtar Ullah 22 Oct 2008 09:46:33
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com