Gnuplot task

Gnuplot task

Description

Task to process gnuplot, a portable command-line driven graphing utility (see: gnuplot.info/ ).

Installation

$ apt-get install gnuplot

Gnuplot task parameters

Attribute Description Value Required
file The input file yes
tofile The output file no: .png by default
title The graph title no
using The column to use no
xlabel The x label no
ylabel The y label no

Examples

<project name="gnuplot task">
	<taskdef name="gnuplot"
		classname="net.sourceforge.ant4x.taskdefs.doc.GnuplotTask"
		classpath="PATH/TO/ant4x.jar"/>
	
	<target name="gnuplot">
		<gnuplot file="<input>.csv" title="GET api/invoices" using="4 with lines" xlabel="nb requests" ylabel="time per request (ms)"/>
	</target>
</project>