+
+
+ public void printPlotCmd() {
+ try {
+ BufferedWriter bw =
+ new BufferedWriter( new FileWriter( "plot.cmd" ) );
+
+ bw.write( "set ytics\n" );
+ bw.write( "plot \\\n" );
+
+ for( int i = 0; i < numThreads; ++i ) {
+ bw.write( "\"plot-t"+i+".dat\" using 1:2:yticlabels(3) "+
+ "title 't"+i+"' with linespoints" );
+ if( i != numThreads - 1 ) {
+ bw.write( ", \\" );
+ }
+ bw.write( "\n" );
+ }
+
+ bw.close();
+ } catch( IOException e ) {
+ e.printStackTrace();
+ System.exit( -1 );
+ }
+ }