Skip to content

Commit 4257d61

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 64bb948 + 901c6b3 commit 4257d61

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

papiplot/src/plot.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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

145154
int get_events_nb(char *path) {

0 commit comments

Comments
 (0)