The module "mplot_vline" of the Mastrave modelling library
Copyright and license notice of the function mplot_vline
Copyright © 2008,2009,2010,2011 Daniele de Rigo
The file mplot_vline.m is part of Mastrave.
Mastrave is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Mastrave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Mastrave. If not, see http://www.gnu.org/licenses/.
Function declaration
answer = mplot_vline( values , marker = 'o' , colortable = [ 0.8 ; 1 ] , steps = 10 , options = '--shadow' )
Description
Input arguments:
values ::numeric,matrix::
Data to be displayed, expected to be a matrix with
two or three columns depending on wheter the output
plot is expected to be bi- or tridimensional.
Example of usage:
% Basic usage:
% Loading data
[ d1, url1, ref1 ] = get_reference_data( 'Gauss1' );
[ d2, url2, ref2 ] = get_reference_data( 'Gauss2' );
[ d3, url3, ref3 ] = get_reference_data( 'Gauss3' );
data = [ d1 d2 d3 ];
[ y1, y2, y3 ] = mdeal( data(:,[1 3 5]) );
% two-dimensional plots
figure( 1 )
mplot_vline( [ y1, y2 ] )
% two-dimensional plots
figure( 2 )
mplot_vline( [ y1, y2, y3 ] )
Version: 0.5.4
Input arguments
Input arguments: values ::numeric,matrix:: Data to be displayed, expected to be a matrix with two or three columns depending on wheter the output plot is expected to be bi- or tridimensional.
Example of usage
% Basic usage: % Loading data [ d1, url1, ref1 ] = get_reference_data( 'Gauss1' ); [ d2, url2, ref2 ] = get_reference_data( 'Gauss2' ); [ d3, url3, ref3 ] = get_reference_data( 'Gauss3' ); data = [ d1 d2 d3 ]; [ y1, y2, y3 ] = mdeal( data(:,[1 3 5]) ); % two-dimensional plots figure( 1 ) mplot_vline( [ y1, y2 ] ) % two-dimensional plots figure( 2 ) mplot_vline( [ y1, y2, y3 ] )
Version: 0.5.4
Support
The Mastrave modelling library is committed to provide reusable and general - but also robust and scalable - modules for research modellers dealing with computational science. You can help the Mastrave project by providing feedbacks on unexpected behaviours of this module. Despite all efforts, all of us - either developers or users - (should) know that errors are unavoidable. However, the free software paradigm successfully highlights that scientific knowledge freedom also implies an impressive opportunity for collectively evolve the tools and ideas upon which our daily work is based. Reporting a problem that you found using Mastrave may help the developer team to find a possible bug. Please, be aware that Mastrave is entirely based on voluntary efforts: in order for your help to be as effective as possible, please read carefully the section on reporting problems. Thank you for your collaboration.