IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
plotter12 Class Reference

Detailed Description

Definition at line 6 of file plotter12.m.

Public Member Functions

function draw_plot (in o, in name, in flag_legend, in ylimits, in xticks, in xticklabels, in star_ii)
 
function draw_subplots (in o, in name, in ylimits, in xticks, in xticklabels, in star_ii)
 
function draw_image (in o, in name, in star_ij, in clim, in flag_logtake, in flag_transpose)
 
function get_y (in o, in name)
 Mounts a matrix containing the averages of a field within the "values" property specified by the "name" parameter. More...
 
function get_Y (in o, in name)
 Mounts a matrix containing the values of a field within the "values" property specified by the "name" parameter. More...
 

Public Attributes

Property values
 2D Structure array with fields varying More...
 
Property ax
 2-element Array of axisdata objects More...
 
Property flag_hachure
 

Member Function Documentation

function plotter12::draw_image ( in  o,
in  name,
in  star_ij,
in  clim,
in  flag_logtake,
in  flag_transpose 
)

Draws each value as an image pixel

For the colors:

  • it may use the whole colormap range (don't specify the clim parameter), or
  • make the colormap span the range specificed by clim (and the values will probably be contained within a subrange thereof). This case is useful for when you want to draw several images and compare them using the same "color scale"
Parameters
name='rates'. 'rates'/'times1'/'times2'/'times3' etc
star_ij(optional) Row and Column of the "best", to put a STAR on. If not specified, no star is drawn
clim=[] see description above
flag_logtake=0 Whether to take logarithm of values (useful for SVM time images
function plotter12::draw_plot ( in  o,
in  name,
in  flag_legend,
in  ylimits,
in  xticks,
in  xticklabels,
in  star_ii 
)

Draws single plot with many lines

Parameters
name='rates'. 'rates'/'times1'/'times2'/'times3' etc
flag_legend=1. (Legends will be ax(2).legends)
ylimits=(automatically calculated by MATLAB)
xticks=(taken from the ax property)
xticklabels=(takenfrom the ax property)
function plotter12::draw_subplots ( in  o,
in  name,
in  ylimits,
in  xticks,
in  xticklabels,
in  star_ii 
)

Draws a single figure with several subplots.

Each subplot corresponds to a different architecture.

Parameters
name='rates'. 'rates'/'times1'/'times2'/'times3' etc
ylimits=(automatically calculated by MATLAB for each individual subplot)
xticks=(taken from the ax property)
xticklabels=(takenfrom the ax property)
function plotter12::get_y ( in  o,
in  name 
)

Mounts a matrix containing the averages of a field within the "values" property specified by the "name" parameter.

function plotter12::get_Y ( in  o,
in  name 
)

Mounts a matrix containing the values of a field within the "values" property specified by the "name" parameter.

Member Data Documentation

Property plotter12::ax

2-element Array of axisdata objects

Definition at line 15 of file plotter12.m.

Property plotter12::flag_hachure

Definition at line 18 of file plotter12.m.

Property plotter12::values

2D Structure array with fields varying

Definition at line 11 of file plotter12.m.


The documentation for this class was generated from the following file: