Method: PAES_Analysis#plotSingleRun_Runtime_Distance

Defined in:
lib/flukso/plots.rb

#plotSingleRun_Runtime_DistanceObject



385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
# File 'lib/flukso/plots.rb', line 385

def plotSingleRun_Runtime_Distance
  basename="runtime-report"
  drawcmd=<<-END_OF_CMD
    l<-length(data$distance)
    range<-1:l
    plot(range, data$distance, type="n",
      xlab="Iteration (x 1000)",
      ylab="Distance"
    )
    points(range, data$distance, type="l", lty=2)
  END_OF_CMD
  infile=File.join(@workingdir, basename+".txt")
  outfile=basename+"-distance.eps"
  puts "infile: #{infile}"
  puts "outfile: #{outfile}"
  @runner.execute(infile, outfile, drawcmd)
end