Index   <<First   <Prev   Next>   End>>
sample18 : How to assign each time value in a CVS data to the number of an image object and its color?
Sorry. Document is not written for the sample XML file Now!
XML elements: animeMultiObject,animeMultiColor
Download Source:sample18.zip,sample18.tgz Download Demo:sample18.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: <placeName id="data2" name="data2" />
13: </tableFile>
14:
15: <animation title="Sample" backColor="0 0 0">
16: <animeMultiObject lowerBound="-200 -200 0" upperBound="200 200 0">
17: <animeImage image="img1" size="100 100" />
18: <animeMultiVisibility
19: event="data1"
20: threshold="20"
21: period="1"
22: discretization="10"
23: increasingOnly="false"
24: />
25: <animeMultiColor
26: event="data1"
27: threshold="20"
28: discretization="10"
29: increasingOnly="false"
30: color="1 0 0"
31: />
32: </animeMultiObject>
33: </animation>
34:
35: <plotter title="2D time-series Plot"
36: xLabel="Time"
37: yLabel="Number of Tokens"
38: legendPosition="0.7 0.8"
39: backColor="1 1 1"
40: axesColor="0 0 0"
41: lineWidth="1"
42: pointSize="3"
43: >
44: <plotSeries event="data1" label="Data1" color="1 0 0" />
45: </plotter>
46:
47: </test>
48:
49:
50: