annotate xy_plot.xml @ 0:d43075b3e107 draft default tip

Uploaded
author saskia-hiltemann
date Fri, 30 Oct 2015 10:46:49 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
1 <tool id="XY_Plot_1_multiformat" name="Plotting tool" version="1.0.1">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
2 <description>for multiple series and graph types and multiple output types</description>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
3 <requirements>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
4 <requirement type="package" version="3.2.1">R</requirement>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
5 <requirement type="package" version="2.11.1">fontconfig</requirement>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
6 </requirements>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
7 <command interpreter="bash">r_wrapper.sh $script_file</command>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
8
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
9 <inputs>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
10 <param name="main" type="text" value="" label="Plot Title"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
11 <param name="xlab" type="text" value="" label="Label for x axis"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
12 <param name="ylab" type="text" value="" label="Label for y axis"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
13 <param name="ftype" type="select" label="File Type">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
14 <option value="pdf">PDF</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
15 <option value="png">PNG</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
16 <option value="jpeg">JPEG</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
17 <option value="bmp">BMP</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
18 <option value="tiff">TIFF</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
19 </param>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
20 <repeat name="series" title="Series">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
21 <param name="input" type="data" format="tabular" label="Dataset"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
22 <param name="xcol" type="data_column" data_ref="input" label="Column for x axis"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
23 <param name="ycol" type="data_column" data_ref="input" label="Column for y axis"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
24 <conditional name="series_type">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
25 <param name="type" type="select" label="Series Type">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
26 <option value="line" selected="true">Line</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
27 <option value="points">Points</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
28 </param>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
29 <when value="line">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
30 <param name="lty" type="select" label="Line Type">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
31 <option value="1">Solid</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
32 <option value="2">Dashed</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
33 <option value="3">Dotted</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
34 </param>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
35 <param name="col" type="select" label="Line Color">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
36 <option value="1">Black</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
37 <option value="2">Red</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
38 <option value="3">Green</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
39 <option value="4">Blue</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
40 <option value="5">Cyan</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
41 <option value="6">Magenta</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
42 <option value="7">Yellow</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
43 <option value="8">Gray</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
44 </param>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
45 <param name="lwd" type="float" label="Line Width" value="1.0"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
46 </when>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
47 <when value="points">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
48 <param name="pch" type="select" label="Point Type">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
49 <option value="1">Circle (hollow)</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
50 <option value="2">Triangle (hollow)</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
51 <option value="3">Cross</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
52 <option value="4">Diamond (hollow)</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
53 <option value="15">Square (filled)</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
54 <option value="16">Circle (filled)</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
55 <option value="17">Triangle (filled)</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
56 </param>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
57 <param name="col" type="select" label="Point Color">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
58 <option value="1">Black</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
59 <option value="2">Red</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
60 <option value="3">Green</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
61 <option value="4">Blue</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
62 <option value="5">Cyan</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
63 <option value="6">Magenta</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
64 <option value="7">Yellow</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
65 <option value="8">Gray</option>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
66 </param>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
67 <param name="cex" type="float" label="Point Scale" value="1.0"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
68 </when>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
69 </conditional>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
70 </repeat>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
71 </inputs>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
72
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
73 <configfiles>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
74 <configfile name="script_file">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
75 ## Setup R error handling to go to stderr
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
76 options( show.error.messages=F,
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
77 error = function () { cat( geterrmessage(), file=stderr() ); q( "no", 1, F ) } )
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
78 ## Determine range of all series in the plot
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
79 xrange = c( NULL, NULL )
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
80 yrange = c( NULL, NULL )
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
81 #for $i, $s in enumerate( $series )
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
82 s${i} = read.table( "${s.input.file_name}" )
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
83 x${i} = s${i}[,${s.xcol}]
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
84 y${i} = s${i}[,${s.ycol}]
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
85 xrange = range( x${i}, xrange )
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
86 yrange = range( y${i}, yrange )
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
87 #end for
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
88 ## Open output PDF file
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
89 #if $ftype.value == "pdf"
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
90 pdf("outfile.pdf")
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
91 #else
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
92 "${ftype}"( "outfile.${ftype}" , type="cairo")
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
93 #end if
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
94 ## Dummy plot for axis / labels
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
95 plot( NULL, type="n", xlim=xrange, ylim=yrange, main="${main}", xlab="${xlab}", ylab="${ylab}" )
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
96 ## Plot each series
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
97 #for $i, $s in enumerate( $series )
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
98 #if $s.series_type['type'] == "line"
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
99 lines( x${i}, y${i}, lty=${s.series_type.lty}, lwd=${s.series_type.lwd}, col=${s.series_type.col} )
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
100 #elif $s.series_type.type == "points"
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
101 points( x${i}, y${i}, pch=${s.series_type.pch}, cex=${s.series_type.cex}, col=${s.series_type.col} )
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
102 #end if
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
103 #end for
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
104 ## Close the PDF file
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
105 devname = dev.off()
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
106 </configfile>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
107 </configfiles>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
108
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
109 <outputs>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
110 <data format="pdf" name="out_file1" from_work_dir="outfile.pdf" >
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
111 <filter>(ftype == 'pdf') </filter>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
112 </data>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
113 <data format="png" name="out_file2" from_work_dir="outfile.png">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
114 <filter>(ftype == 'png') </filter>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
115 </data>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
116 <data format="jpg" name="out_file3" from_work_dir="outfile.jpeg">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
117 <filter>(ftype == 'jpeg') </filter>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
118 </data>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
119 <data format="bmp" name="out_file4" from_work_dir="outfile.bmp">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
120 <filter>(ftype == 'bmp') </filter>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
121 </data>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
122 <data format="tiff" name="out_file5" from_work_dir="outfile.tiff">
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
123 <filter>(ftype == 'tiff') </filter>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
124 </data>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
125 </outputs>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
126
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
127 <tests>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
128 <test>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
129 <param name="main" value="Example XY Plot PDF"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
130 <param name="xlab" value="Column 1"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
131 <param name="ylab" value="Column 2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
132 <param name="ftype" value="pdf"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
133 <param name="input" value="2.tabular" ftype="tabular"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
134 <param name="xcol" value="1"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
135 <param name="ycol" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
136 <param name="type" value="line"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
137 <param name="lty" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
138 <param name="col" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
139 <param name="lwd" value="1.0"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
140 <output name="out_file1" file="XY_Plot_1_multi_out.pdf" format="pdf" />
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
141 </test>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
142 <test>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
143 <param name="main" value="Example XY Plot PNG"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
144 <param name="xlab" value="Column 1"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
145 <param name="ylab" value="Column 2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
146 <param name="ftype" value="png"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
147 <param name="input" value="2.tabular" ftype="tabular"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
148 <param name="xcol" value="1"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
149 <param name="ycol" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
150 <param name="type" value="line"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
151 <param name="lty" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
152 <param name="col" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
153 <param name="lwd" value="1.0"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
154 <output name="out_file2" md5="c2762c725f80fe4419e35768cac5d11b" />
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
155 </test>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
156 <test>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
157 <param name="main" value="Example XY Plot JPEG"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
158 <param name="xlab" value="Column 1"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
159 <param name="ylab" value="Column 2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
160 <param name="ftype" value="jpeg"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
161 <param name="input" value="2.tabular" ftype="tabular"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
162 <param name="xcol" value="1"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
163 <param name="ycol" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
164 <param name="type" value="line"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
165 <param name="lty" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
166 <param name="col" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
167 <param name="lwd" value="1.0"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
168 <output name="out_file3" md5="5c89f4e87bb5f2a809877b471f9c2d69" />
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
169 </test>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
170 <test>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
171 <param name="main" value="Example XY Plot BMP"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
172 <param name="xlab" value="Column 1"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
173 <param name="ylab" value="Column 2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
174 <param name="ftype" value="bmp"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
175 <param name="input" value="2.tabular" ftype="tabular"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
176 <param name="xcol" value="1"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
177 <param name="ycol" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
178 <param name="type" value="line"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
179 <param name="lty" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
180 <param name="col" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
181 <param name="lwd" value="1.0"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
182 <output name="out_file4" md5="74ea4b29bd7de44c1b6377c6c26671e7"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
183 </test>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
184 <test>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
185 <param name="main" value="Example XY Plot TIFF"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
186 <param name="xlab" value="Column 1"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
187 <param name="ylab" value="Column 2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
188 <param name="ftype" value="tiff"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
189 <param name="input" value="2.tabular" ftype="tabular"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
190 <param name="xcol" value="1"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
191 <param name="ycol" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
192 <param name="type" value="line"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
193 <param name="lty" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
194 <param name="col" value="2"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
195 <param name="lwd" value="1.0"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
196 <output name="out_file5" md5="7ebf7d201ad9cdf0fc6995639749ae7d"/>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
197 </test>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
198 </tests>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
199 <help>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
200 .. class:: infomark
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
201
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
202 This tool allows you to plot values contained in columns of a dataset against each other and also allows you to have different series corresponding to the same or different datasets in one plot.
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
203
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
204 -----
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
205
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
206 .. class:: warningmark
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
207
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
208 This tool throws an error if the columns selected for plotting are absent or are not numeric and also if the lengths of these columns differ.
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
209
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
210 -----
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
211
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
212 **Example**
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
213
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
214 Input file::
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
215
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
216 1 68 4.1
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
217 2 71 4.6
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
218 3 62 3.8
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
219 4 75 4.4
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
220 5 58 3.2
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
221 6 60 3.1
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
222 7 67 3.8
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
223 8 68 4.1
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
224 9 71 4.3
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
225 10 69 3.7
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
226
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
227 Create a two series XY plot on the above data:
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
228
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
229 - Series 1: Red Dashed-Line plot between columns 1 and 2
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
230 - Series 2: Blue Circular-Point plot between columns 3 and 2
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
231
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
232 .. image:: xy_example.jpg
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
233 </help>
d43075b3e107 Uploaded
saskia-hiltemann
parents:
diff changeset
234 </tool>