comparison m-toolbox/test/test_cdata_class.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 test_cdata_class()
2 % Test script for cdata class.
3 %
4 % M Hewitson 15-03-07
5 %
6 % $Id: test_cdata_class.m,v 1.9 2008/09/05 14:18:36 hewitson Exp $
7 %
8
9 % Simple constructor
10 c = cdata
11
12 % With values and tags
13 c = cdata([1 2 3]);
14
15 pl = plist('Markers', {'o'});
16
17 iplot(ao(c), pl)
18
19 % Constant
20 c = cdata(2.3)
21
22 % from plist
23 % c = cdata(plist(param('fcn', 'randn(10,1)')))
24
25 % iplot(ao(c), pl)
26
27 % END