rbmatlab 0.10.01
|
Tools for post-processing data, i.e. data extraction and visual enhancements for publication.
Packages | |
package | StochasticAssessment |
Tools for gathering and storing data from a huge set of randomly generated reduced simulations. | |
Functions | |
function clim = | plot_as_tikzfile ( params) |
postprocesses a figure and write out an image and a text file that can be included in TeX documents. | |
function | plot_trajectories ( IReducedModel rmodel, IDetailedData detailed_data, plot_params, mu_set, imsavepath, plot_name, opts) |
function generating a tikz graphic showing trajectories for certain selected parameters | |
function file = | plottrajectories>create_colorbar_file ( file, plot_name, xshift, yshift, cwidth, cheight, ticks, tclim, cbfp, cbfn) |
function file = | plottrajectories>add_to_tikzfile ( file, plot_name, xshift, yshift, mi, mu, mufn, nt, ti) |
function clim = Postprocess.plot_as_tikzfile | ( | params | ) |
postprocesses a figure and write out an image and a text file that can be included in TeX documents.
This method creates three files from a MATLAB figure specified by
png
coded image file containing a snapshot of the figure box.tikz
that can be included in a LaTeX document adding axes and meta information around the png
file._test.tex
that can be compiled with pdflatex and outputs a pdf file with the figure output.params | Options controlling the output |
clim | clim |
figure_handle —
handle to the figure that shall be postprocessed filename —
base of filename for the three generated files filename.png
, filename.tikz
and filename_test.tex
filepath —
path where the output files shall be stored pic_scale —
pic scale hide_axes —
hide axes export_fig_params —
export fig params scaleaxis —
scaleaxiswidth —
width of output picture in cm. (default=8.0) relpath —
a path to the image files relative to the main tex file from which the main tikz file is included. This might be necessary, because latex searches input files relative to the latex executation path only. This path string may also include tex commands for later specification of the image path in the tex file. (default=./
) height —
height of output picture in pixels. If this parameter does not exist or is set to zero, the height is calculated from the width and the pictures ratio. save_colorbar —
boolean specifying wether separate files for the colorbar is generated. print_axes —
boolean specifying wether the tikz file shall include drawing commands for axes around the picture. (default=true) print_axes_label —
boolean specifying wether the tikz file shall include drawing commands for labels at the axes. This field is ignored if print_axes
is set to false. (default=true) ticks —
integer specifying how many ticks should be added to the axes drawn around the figure. This field is ignored if print_axes
or print_axes_label
is set to false. (default=5) Definition at line 2 of file plot_as_tikzfile.m.
function Postprocess.plot_trajectories | ( | IReducedModel | rmodel, |
IDetailedData | detailed_data, | ||
plot_params, | |||
mu_set, | |||
imsavepath, | |||
plot_name, | |||
opts | |||
) |
function generating a tikz graphic showing trajectories for certain selected parameters
rmodel | object specifying how the reduced simulations can be computed. |
detailed_data | object defining the basis generation algorithm and storage for storing high dimensional data, i.e. dependent on dimension ![]() reduced_data and reconstruction of reduced simulations. |
plot_params | a structure coming with a field plot for plotting |
mu_set | a cell array of parameter vectors for which a trajectory shall be generated. |
imsavepath | a string specifying the directory name, where the generated files are stored. |
plot_name | a string naming this plot. |
opts | optional settings. |
plot_type —
plot type plot —
plotdescr.T —
descr.T nt —
nt detailed_model —
detailed modelpic_scale —
pic scale field —
fieldmodel_data.grid —
model data.grid model_data —
model datatimeinstants —
time instants to include into trajectory. Default is [ 0, 1/3, 2/3, 1 ] * model.T
width —
width of single snapshot. Default is 5cm; subline_coord —
coordinate at which a subline plot shall be created subline_dir —
either x
or y
specifying the direction of the subline plot. sim_type —
simulation type (either reduced
or detailed
) Definition at line 2 of file plot_trajectories.m.