comparison xy_plot.xml @ 2:00edf99d4306 draft

Uploaded
author saskia-hiltemann
date Thu, 29 Oct 2015 11:34:53 -0400
parents 1e7227087237
children 6e79138ae637
comparison
equal deleted inserted replaced
1:1e7227087237 2:00edf99d4306
1 <tool id="XY_Plot_1" name="Plotting tool" version="1.0.1"> 1 <tool id="XY_Plot_1_multiformat" name="Plotting tool 2" version="1.0.1">
2 <description>for multiple series and graph types</description> 2 <description>for multiple series and graph types</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="3.2.1">R</requirement> 4 <requirement type="package" version="3.2.1">R</requirement>
5 </requirements> 5 </requirements>
6 <command interpreter="bash">r_wrapper.sh $script_file</command> 6 <command interpreter="bash">r_wrapper.sh $script_file</command>
76 y${i} = s${i}[,${s.ycol}] 76 y${i} = s${i}[,${s.ycol}]
77 xrange = range( x${i}, xrange ) 77 xrange = range( x${i}, xrange )
78 yrange = range( y${i}, yrange ) 78 yrange = range( y${i}, yrange )
79 #end for 79 #end for
80 ## Open output PDF file 80 ## Open output PDF file
81 pngcairo( "${out_file1}" ) 81 png( "${out_file1}" )
82 ## Dummy plot for axis / labels 82 ## Dummy plot for axis / labels
83 plot( NULL, type="n", xlim=xrange, ylim=yrange, main="${main}", xlab="${xlab}", ylab="${ylab}" ) 83 plot( NULL, type="n", xlim=xrange, ylim=yrange, main="${main}", xlab="${xlab}", ylab="${ylab}" )
84 ## Plot each series 84 ## Plot each series
85 #for $i, $s in enumerate( $series ) 85 #for $i, $s in enumerate( $series )
86 #if $s.series_type['type'] == "line" 86 #if $s.series_type['type'] == "line"