368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
|
# File 'lib/flukso/plots.rb', line 368
def plotSingleRun_Runtime
basename="runtime-report"
drawcmd=<<-END_OF_CMD
l<-length(data$acc)
range<-1:l
plot(range, data$acc, type="n",
xlab="Iteration (x 1000)",
ylab="Dominant Solutions"
)
points(range, data$acc, type="l", lty=1)
END_OF_CMD
infile=File.join(@workingdir, basename+".txt")
outfile=basename+".eps"
puts "infile: #{infile}"
puts "outfile: #{outfile}"
@runner.execute(infile, outfile, drawcmd)
end
|