comparison m-toolbox/classes/+utils/@prog/label.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 function s = label(si)
2 % LABEL makes the input string into a suitable string for using on plots.
3 %
4 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5 %
6 % DESCRIPTION: LABEL makes the input string into a suitable string for
7 % using on plots.
8 %
9 % CALL: s = label(sin)
10 %
11 % INPUTS: sin - input string
12 %
13 % OUTPUTS: s - suitable string for the plot functions
14 %
15 % VERSION: $Id: label.m,v 1.1 2008/06/20 10:48:33 hewitson Exp $
16 %
17 % HISTORY: 11-02-2007 M Hewitson
18 % Creation
19 %
20 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
21
22 s = strrep(si, '_', '\_');