Mercurial > hg > ltpda
comparison m-toolbox/classes/+utils/@plottools/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 % LABEL makes the input string into a suitable string for using on plots. | |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: LABEL makes the input string into a suitable string for | |
5 % using on plots. | |
6 % | |
7 % CALL: s = label(sin) | |
8 % | |
9 % INPUTS: sin - input string | |
10 % | |
11 % OUTPUTS: s - suitable string for the plot functions | |
12 % | |
13 % VERSION: $Id: label.m,v 1.1 2008/08/05 17:51:32 ingo Exp $ | |
14 % | |
15 % HISTORY: 11-02-2007 M Hewitson | |
16 % Creation | |
17 % | |
18 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
19 | |
20 function s = label(si) | |
21 | |
22 s = strrep(si, '_', '\_'); | |
23 | |
24 end | |
25 | |
26 |