Code Directory
 Visual Basic & VB.NET
New Code
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Yipit Clone Script - Daily Deals Software 1.0.2
Devart Excel Add-in for Oracle 1.7
Devart Excel Add-in for Freshdesk 1.7
Devart Excel Add-in for G Suite 1.7
C# QR Code Generator
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
Top Code
MCU 8051 IDE 1.4.7
School Management Script 1.0.4
shopping mall management system 1.0
WinPoker 2.02
SynaSer Serial Port Library 5.0
MLM Software 1.0.2
Planyo online reservation system module 6.x-1.8
SuperGeek Free Document OCR 2.5.6
sipmethod 1.0
School Management CRM 1
STDF file reader 1.0
Farnsworth 1.0
WebKit2.NET 0.10
Simple IP Calculator sub/sup networking 0.0.4
Beremiz 1.0
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
Function 'readyforprint' 1.0
File ID: 85194

Function 'readyforprint' 1.0
Download Function 'readyforprint' 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 0
Submit Rating:
Function 'readyforprint' 1.0 Description
Description: 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 presentation

The code below demonstrates the code in use.

readyforprint([4 3],10,[0.7 1 0.6],[0 0.1 0.1],3)
print('-djpeg','this_is_my_printed_jpg') % for a jpg
print('-depsc2','-loose','this_is_my_printed_eps') % for an eps

License: Shareware

Related: equivalent, default, readyforprint, 310kw05, defaults, empty, inputs, Width

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 0

More Similar Code

The module associates a menu entry with each taxonomy terms in a configurable vocabulary.
As callbacks, panel pages are used to display stuff (eg. nodes associated with the term).

The module is similar to taxonomy_menu in that it creates a menu from a set of taxonomy terms. As opposed to that module, the generated URLs do not carry the hierarchy information but are flat eg. panel-page/<term-id>.

Also, taxomenu...

This function has been designed to implement APAC algorithm proposed by Ricardo SimdoTAes in his research contribution in Revista de Estudos PolitdoTecnicos, Polytechnical Studies Review, 2009, Vol VII, ndlDo12, 039-055.
This code has been...

General hash function algorithm implementations for series of commonly used additive and rotative string hashing in the object pascal programming language.For more information please visit:

This recipe is a simple solution for turning a recursive function into a non-recursive function.

This is a hack to get around the read-only nature of __closure__ on function objects. Watch your step!

Simple 1KHz Audio Function Generator Using Standard Python In Linux -

This code is a stand alone program to generate a signal, at the earphone sockets, of 1KHz.
It is a basic audio signal generator and can be used as a...

Please note that the present is a fork of the recipe 577283 "Decorator to expose local variables of a function after execution" of Pietro Berkes, available at...

I present a method of computing the 1F1(a,b,x) function using a contour integral. The method is based on a numerical inversion, basically the Laplace inversion. Integral is 1F1(a,b,x) = Gamma(b)/2\pi i \int_\rho exp(zx)z^(-b)(1+x/z)^(-a)dz, \rho...

The recipe presents a function overloading decorator in python that do type check. The type signature is marked with the @takes and @returns decorator, which causes the function to raise an InputParameterError exception if called with...

The recipe presents a simple decorator for function overloading in python. The @overloaded function searches for the first overloads that doesn't raise TypeError when called. Overloads are added to the overloads list by using the...

User Review for Function 'readyforprint'
- required fields

Please enter text on the image