About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • Last update: 5 years ago
  • Total downloads: 33
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Christoph Brueser
See full specifications

scripts default iconConvertPlot4Publication (Scripts) Publisher's description

ConvertPlot4Publication - This function formats figures and outputs files for a publication

ConvertPlot4Publication - This function formats figures and outputs files for a publication

This function formats a figure in a way that they are ready for a
publication, i.e. width and height of the figure, textsize, textfont, alignment of
subplots and backcolor and finally saves this figure in various formats (such as
MATLAB .fig, PDF, EPS, PNG, or PSFrag).

You can use this function to save all your figures which you might later
want to use for a publications. This way all your plots will be readily
available in different output formats and consistent formatting.

Syntax: ConvertPlot4Publication(filename,varargin)

filename (Required) - A string containting the name of the output files.
OPTIONS (Optional) - additional options are added in 'key' and 'value'
Key | Value
'figure' | Figure to create the files from.
| default is gcf (current figure handle)
'height' | Height of final figure in inch. If no value is given
| the current figure width is taken.
'width' | Width of final figure in inch. Default is 3.45in
|(IEEE journal column width).
'backcolor' | [none] - Changes the backcolor of the figure. Default is
| none.
'samexaxes' | [on, off] - Defines if in case of stacked subplots
| only the x-axis from the lowest subplot is taken. Default is off.
| default is gcf (current figure handle)
'tickdir' | [in, out] - Direction of ticks.
'box' | [on, off] - Box around each plot is switched on or
| off.
'fontname' | Fontname used for each text element. Default value is 'Times New Roman'.
'fontsize' | Fontsize of each text element, including axis and legends. Default value is 10.
'linewidth' | Linewidth of each line. Default is 1.
'keepheights' | [on, off] - Do not change axes heights (default: off)
'keepvertical'| [on, off] - Do not rearange vertical position of the axes. (default: off)
'pdf' | [on, off] - PDF output (default: on)
'png' | [on, off] - PNG output (default: on)
'eps' | [on, off] - EPS output (default: on)
'psfrag' | [on, off] - Psfrag output (default: off)
'fig' | [on, off] - MATLAB .fig output (default: on)



%Generate some data
y1 = randn(1000,1);
y2 = randn(1000,1);

%Plot using two subplots

%Export using the default options (output

%Export again, this time changing the font and using the same x-axis
ConvertPlot4Publication('testPlot2', 'fontsize', 8, 'fontname', 'Arial', 'samexaxes', 'on', 'eps', 'off')

Other m-files required: matlabfrag.m, export_fig.m (from matlabcentral)
Subfunctions: none
MAT-files required: none

Authors: Tobias Wartzek, Christoph Brueser

System Requirements:

MATLAB 7.12 (2011a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

ConvertPlot4Publication (Scripts) Tags:

Click on a tag to find related softwares

Is ConvertPlot4Publication (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.