File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ void plot(char *path, char* actor_name) {
8282 gnuplot_cmd (h , "set boxwidth total_box_width_relative/n relative" );
8383 gnuplot_cmd (h , "set style fill transparent solid 0.5 noborder" );
8484
85+
8586 gnuplot_cmd (h , "set xrange [-1:%d]" , number_of_actions );
8687 gnuplot_cmd (h , "set title \"Events in %s per action\"" , actor_name );
8788 gnuplot_cmd (h , "set xtics out" );
@@ -140,6 +141,14 @@ void plot(char *path, char* actor_name) {
140141
141142// gnuplot_close(h);
142143// sleep(100);
144+
145+
146+ /* plot "profit.dat" u 1:2 w boxes lc rgb"green" notitle,\
147+ "profit.dat" u ($1+d_width):3 w boxes lc rgb"red" notitle
148+ http://gnuplot-surprising.blogspot.com.es/2011/09/plot-histograms-using-boxes.html
149+ http://gnuplot-surprising.blogspot.com.es/2011/10/add-value-labels-to-top-of-bars-in-bar.html
150+ */
151+ sleep (50000000 );
143152}
144153
145154int get_events_nb (char * path ) {
You can’t perform that action at this time.
0 commit comments