Genomic Object Net Visualizer Online Samples
sample19 : How to assign a time series value to the number of a text object and its color?
Sorry. Document is not written for the sample XML file Now!
XML elements: animeMultiObject,animeMultiColor
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="img2" file="./dummy.png" />
9: <tableFile file="sample2.csv">
10: <placeName id="data1" name="data1" />
11: <placeName id="data2" name="data2" />
12: </tableFile>
13:
14: <animation title="Sample1 - increasingOnly=false discretization=10" backColor="0 0 0">
15: <animeMultiObject lowerBound="-100 -100 0" upperBound="100 100 0">
16: <animeText height="20">
17: ?
18: </animeText>
19: <animeMultiVisibility
20: event="data1"
21: threshold="20"
22: period="-1"
23: discretization="10"
24: increasingOnly="false"
25: />
26: </animeMultiObject>
27:
28: <animeSingleObject position="0 0 0">
29: <animeImage image="img2" size="200 200" />
30: </animeSingleObject>
31: </animation>
32:
33: <animation title="Sample2 - increasingOnly=true discretization=10" backColor="0 0 0">
34: <animeMultiObject lowerBound="-100 -100 0" upperBound="100 100 0">
35: <animeText height="20" color="0 255 0">
36: ?
37: </animeText>
38: <animeMultiVisibility
39: event="data1"
40: threshold="20"
41: period="-1"
42: discretization="10"
43: increasingOnly="true"
44: />
45: </animeMultiObject>
46:
47: <animeSingleObject position="0 0 0">
48: <animeImage image="img2" size="200 200" />
49: </animeSingleObject>
50: </animation>
51:
52: <animation title="Sample3 - increasingOnly=true discretization=5" backColor="0 0 0">
53: <animeMultiObject lowerBound="-100 -100 0" upperBound="100 100 0">
54: <animeText height="20" color="0 0 1">
55: ?
56: </animeText>
57: <animeMultiVisibility
58: event="data1"
59: threshold="20"
60: period="-1"
61: discretization="5"
62: increasingOnly="true"
63: />
64: </animeMultiObject>
65:
66: <animeSingleObject position="0 0 0">
67: <animeImage image="img2" size="200 200" />
68: </animeSingleObject>
69: </animation>
70:
71: <plotter title="2D time-series Plot"
72: xLabel="Time"
73: yLabel="Number of Tokens"
74: legendPosition="0.7 0.8"
75: backColor="1 1 1"
76: axesColor="0 0 0"
77: lineWidth="1"
78: pointSize="3"
79: >
80: <plotSeries event="data1" label="Data1" color="1 0 0" />
81: </plotter>
82:
83: </test>
84:
85:
86:
© 2002-2004, Human Genome Center, Miyano Laboratory, All Rights Reserved.