Mercurial > repos > saskia-hiltemann > testrepo
comparison xy_plot.xml @ 5:f259b7f33591 draft
Uploaded
author | saskia-hiltemann |
---|---|
date | Thu, 29 Oct 2015 11:59:32 -0400 |
parents | 6e79138ae637 |
children | afb09b6aee95 |
comparison
equal
deleted
inserted
replaced
4:6e79138ae637 | 5:f259b7f33591 |
---|---|
1 <tool id="XY_Plot_1_multiformat" name="Plotting tool 2" 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.1.2">R</requirement> | 4 <requirement type="package" version="3.1.2">R</requirement> |
5 <requirement type="package" version="2.11.1">fontconfig</requirement> | |
5 </requirements> | 6 </requirements> |
6 <command interpreter="bash">r_wrapper.sh $script_file</command> | 7 <command interpreter="bash">r_wrapper.sh $script_file</command> |
7 | 8 |
8 <inputs> | 9 <inputs> |
9 <param name="main" type="text" value="" label="Plot Title"/> | 10 <param name="main" type="text" value="" label="Plot Title"/> |
76 y${i} = s${i}[,${s.ycol}] | 77 y${i} = s${i}[,${s.ycol}] |
77 xrange = range( x${i}, xrange ) | 78 xrange = range( x${i}, xrange ) |
78 yrange = range( y${i}, yrange ) | 79 yrange = range( y${i}, yrange ) |
79 #end for | 80 #end for |
80 ## Open output PDF file | 81 ## Open output PDF file |
81 png( "${out_file1}" ) | 82 png( "${out_file1}" , type="cairo") |
82 ## Dummy plot for axis / labels | 83 ## Dummy plot for axis / labels |
83 plot( NULL, type="n", xlim=xrange, ylim=yrange, main="${main}", xlab="${xlab}", ylab="${ylab}" ) | 84 plot( NULL, type="n", xlim=xrange, ylim=yrange, main="${main}", xlab="${xlab}", ylab="${ylab}" ) |
84 ## Plot each series | 85 ## Plot each series |
85 #for $i, $s in enumerate( $series ) | 86 #for $i, $s in enumerate( $series ) |
86 #if $s.series_type['type'] == "line" | 87 #if $s.series_type['type'] == "line" |