Index   <<First   <Prev   Next>   End>>
sample14 : How to assign each time value in a CVS data to three types of motion of an object?
Sorry. Document is not written for the sample XML file Now!
XML elements: animeSingleObject,animeSingleMotion
Download Source:sample14.zip,sample14.tgz Download Demo:sample14.wmv

XML source code

1: <?xml version="1.0" encoding="UTF-8"?>
2:
3:
4: <!DOCTYPE test SYSTEM "GonVisTool.dtd">
5:
6: <test>
7:
8: <imageFile id="img1" file="./img1.png" />
9:
10: <tableFile file="sample2.csv">
11: <placeName id="data1" name="data1" />
12: </tableFile>
13:
14: <animation title="Sample oneway" backColor="0 0 0">
15: <animeSingleObject position="0 0 0">
16: <animeImage image="img1" size="100 100" />
17: <animeSingleMotion event="data1"
18: threshold="20"
19: position="0 50"
20: type="oneway"
21: motionPeriod="20"
22: />
23: </animeSingleObject>
24: </animation>
25:
26: <animation title="Sample reversible" backColor="0 0 0">
27: <animeSingleObject position="50 0 0">
28: <animeImage image="img1" size="100 100" />
29: <animeSingleMotion event="data1"
30: threshold="20"
31: position="50 50"
32: type="reversible"
33: motionPeriod="20"
34: />
35: </animeSingleObject>
36: </animation>
37:
38: <animation title="Sample repeat" backColor="0 0 0">
39: <animeSingleObject position="100 0 0">
40: <animeImage image="img1" size="100 100" />
41: <animeSingleMotion event="data1"
42: threshold="20"
43: position="100 50"
44: type="repeat"
45: motionPeriod="20"
46: />
47: </animeSingleObject>
48: </animation>
49:
50: <plotter title="2D time-series Plot"
51: xLabel="Time"
52: yLabel="Number of Tokens"
53: legendPosition="0.7 0.8"
54: backColor="1 1 1"
55: axesColor="0 0 0"
56: lineWidth="1"
57: pointSize="3"
58: >
59: <plotSeries event="data1" label="Data1" color="1 0 0" />
60: </plotter>
61:
62: </test>
63:
64:
65: