Function 'readyforprint' 1.0 |
Date Added: August 30, 2013 | Visits: 299 |
|
||||||||
This script resizes and reformats images for inclusion in documents, presentations or web pages.This function modifies- paper size (size of output document when output using 'print')- font sites- colours of axes, legend boxes and colour bar boxes- widths of lines in the plot, including the axes, legend boxes and boxes surrounding colorbars.N.B. Marker sizes, face and edge colours are not modified.Inputs are;[W H]; width and height of the image (inches)fntsize; Font size (pts). All text will be set to this size.fgc; foreground colour, either as 'r' or RGB [0.5 0.5 0.5] style.bgc; background colour, either as 'r' or RGB [0.5 0.5 0.5] style.lwidth; Width of lines in figures. use 0.5 for journal plots, 2 for overhead presentations, etc.Any or all inputs can be left empty, in which case a default set is used. This default is equivalent to> readyforprint([6 3],10,'k','w',0.5)These defaults are approximately suitable for a full-width journal image.Suggested image sizes are;[7 4]; for a picture spanning a whole A4 or letter page[3.33 3.33]; for a picture half the width of a page (subfigure)[8 5]; horizontal image for a presentationThe code below demonstrates the code in use.figureplot(rand(10),rand(10),'ko','MarkerFaceColor','r')legend('test')set(legend,'location','best')saveas(gcf,'this_is_my_raw_figure','fig')readyforprint([4 3],10,[0.7 1 0.6],[0 0.1 0.1],3)print('-djpeg','this_is_my_printed_jpg') % for a jpgprint('-depsc2','-loose','this_is_my_printed_eps') % for an eps
|
License: Shareware | Size: 10 KB |
Development Tools
-
htmlBarh 1.0
HTMLBARH(DATA,FILENAME,LABELS,WIDTH) writes DATA out to FILENAME as an HTML fragment that creates a horizontal stacked bar graph labeled with the cell array LABELS. WIDTH scales the bar graph to be so many pixels wide. It returns the full pathname... |
10 KB | |
Networking
-
Admin renamer extended 1.5
Plugin to change your default admin username ( with GUI to change all other admin names too ). Will check for: * Empty names * Existing usernames * Valid username ( no funky special characters ) |
20.48 KB | |
Libraries
-
GDS2 2.09a
GDS2 is a module for quickly creating programs to read and/or write GDS2 files. Create Method new - open gds2 file usage: my $gds2File = new GDS2(-fileName => "filename.gds2"); ## to read my $gds2File2 = new GDS2(-fileName =>... |
10.24 KB | |
Communication
-
sortwvfrms 1.0
Sorts input matrix of data so that each column is re-ordered byuser-specified criteria. Options are (1) sort data by signal width (2)sort data by energy localization (3) sort data by dissimilarity ofdata to a normal probability distribution. The... |
10 KB | |
Development Tools
-
Text Menu Prompt 1.0
TXTMENU is similar to the built-in Matlab function MENU but has the following changes to make navigation around menus faster:1. The menu is text-based in the command window so time isn't wasted generating a GUI menu and the user does not have to... |
10 KB | |
Development Tools
-
Print ID photo on 4x6 photo paper 1.0
This program generates a set of standard passport- or visa-sized photos that can be printed on a regular 4x6 inch-sized photo paper.Photo sizes that are supported:1 inch (38x25mm); big 2 inch (53x35mm); small 2 inch (48x33mm);2 inch square... |
61.44 KB | |
Multimedia
-
Resampling volume or image with affine matrix 1.0
3D Affine matrix is such a 4x4 matrix:M = [ [R T]; [0 0 0 1] ];[x2 y2 z2 1]d-deOao = M * [x1 y1 z1 1]d-deOao ;where, R is a 3x3 rotation matrix, and T is a 3x1 translation matrix. [x1 y1 z1] is a location in original 3D image volume, and [x2 y2... |
10 KB | |
Modules
-
Post Avatar 1.4.3
This plugin simplifies including a picture when writing posts by allowing the user to choose from a predefined list of images. The image can be automatically shown on the page or output customized with the use of a template tag in themes. This... |
51.2 KB | |
Multimedia & Graphics
-
Garbage In, Garbage Out 1.0
Garbage In, Garbage Out - by Anthony Piraino Assorted, offbeat trash-can replacement icons. Keywords: anthony assorted ball beach beachball bin bright bucket bulb can child clean color colorful container cube custom default denture... |
337.92 KB | |
Modules
-
Organic groups defaults 6.x-1.2
Set defaults for Organic group 'group' nodes. This is useful when your site has more than one group type.Currently supports the following 'per-group-type' settings:Organic groups (og) * Membership requests (ie. Open, Moderated, Invite only, Closed... |
10 KB |
Scripts
-
Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers.... |
5.49 MB | |
Scripts
-
B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to... |
5.49 MB | |
Scripts
-
B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or... |
5.49 MB | |
Scripts
-
Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start... |
5.49 MB | |
Scripts
-
Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed... |
5.49 MB | |
Development Tools
-
Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents... |
549.99 KB | |
Development Tools
-
VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV. |
10 KB | |
Development Tools
-
Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]... |
768 KB | |
Development Tools
-
IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without... |
51.2 KB | |
Development Tools
-
7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,... |
624.64 KB |