do_plot_template.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 #
00003 # GIT version. Please do not edit this file.
00004 # Make a copy and edit the copy.
00005 #
00006 
00007 import os
00008 
00009 # Set here the experiments you want to plot
00010 
00011 # D = <directory of the experiments>   
00012 
00013 # Example 
00014 D = '../results/cumberland_4/'
00015 
00016 # L = <list of experiments to compare and label to use in the plot (no spaces allowed in the label!!!)>
00017 
00018 # Example
00019 L = [
00020 D+'SEBS/vaio-i7/20160117_153630','SEBS_1', # no spaces in the label
00021 D+'DTAP/vaio-i7/20160117_175721','DTAP_1'
00022 ]
00023 
00024 # title = Title of the plot
00025 
00026 # Example
00027 title = '"cumberland map, 4 robots"'
00028 
00029 
00030 # Run the R script
00031 
00032 cmd = 'Rscript boxplots.R ' + title + ' '
00033 lfiles = ""
00034 
00035 for i in range(0,len(L)/2):
00036   lfiles = lfiles + '%s_idleness.csv %s ' %(L[i*2],L[i*2+1])
00037 
00038 print cmd+lfiles
00039 os.system(cmd+lfiles)
00040 
00041 os.system('evince Rplots.pdf &')
00042 


patrolling_sim
Author(s):
autogenerated on Thu Jun 6 2019 20:27:09