You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: papiplot/src/plot.c
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,7 @@ void configure_handle(gnuplot_ctrl * h, int number_of_events, int number_of_ele
161
161
gnuplot_cmd(h, "set xtics out");
162
162
gnuplot_cmd(h, "set xtics nomirror");
163
163
gnuplot_cmd(h, "set xtics autofreq");
164
-
gnuplot_cmd(h, "set xtics font \"Verdana,%d\"", tics_font_size);
164
+
gnuplot_cmd(h, "set xtics font \"monospace,%d\"", tics_font_size);
165
165
gnuplot_cmd(h, "set tic scale 0");
166
166
gnuplot_cmd(h, "set grid");
167
167
@@ -222,13 +222,13 @@ void plot_overall(char* output_path, char *path, int number_of_actors, int numbe
222
222
else{
223
223
for(i=0;i<number_of_events;i++){
224
224
if(i==0){//first
225
-
gnuplot_cmd(h, "\"%s\" using ((d='|'.strcol(1).'|', add_label(d),index(d))+(d_width*%d)):%d:(gprintf(\"%%.2se%%S\", $%d)) w labels rotate by 20 font \"Verdana,%d\" notitle,\\", path, i, i+2, i+2, labels_font_size);
225
+
gnuplot_cmd(h, "\"%s\" using ((d='|'.strcol(1).'|', add_label(d),index(d))+(d_width*%d)):%d:(gprintf(\"%%.2se%%S\", $%d)) w labels rotate by 20 font \"monospace,%d\" notitle,\\", path, i, i+2, i+2, labels_font_size);
226
226
}
227
227
elseif (i==(number_of_events-1)){//last
228
-
gnuplot_cmd(h, "\"%s\" using ((d='|'.strcol(1).'|', add_label(d),index(d))+(d_width*%d)):%d:(gprintf(\"%%.2se%%S\", $%d)) w labels rotate by 20 font \"Verdana,%d\" notitle", path, i, i+2, i+2, labels_font_size);
228
+
gnuplot_cmd(h, "\"%s\" using ((d='|'.strcol(1).'|', add_label(d),index(d))+(d_width*%d)):%d:(gprintf(\"%%.2se%%S\", $%d)) w labels rotate by 20 font \"monospace,%d\" notitle", path, i, i+2, i+2, labels_font_size);
229
229
}
230
230
else{
231
-
gnuplot_cmd(h, "\"%s\" using ((d='|'.strcol(1).'|', add_label(d),index(d))+(d_width*%d)):%d:(gprintf(\"%%.2se%%S\", $%d)) w labels rotate by 20 font \"Verdana,%d\" notitle,\\", path, i, i+2, i+2, labels_font_size);
231
+
gnuplot_cmd(h, "\"%s\" using ((d='|'.strcol(1).'|', add_label(d),index(d))+(d_width*%d)):%d:(gprintf(\"%%.2se%%S\", $%d)) w labels rotate by 20 font \"monospace,%d\" notitle,\\", path, i, i+2, i+2, labels_font_size);
gnuplot_cmd(h, "\"%s\" using ((d='|'.strcol(1).'|', add_label(d),index(d))+(d_width*%d)):%d:(gprintf(\"%%.2se%%S\", $%d)) w labels rotate by 20 font \"Verdana,%d\" notitle,\\", path, i, i+2, i+2, labels_font_size);
293
+
gnuplot_cmd(h, "\"%s\" using ((d='|'.strcol(1).'|', add_label(d),index(d))+(d_width*%d)):%d:(gprintf(\"%%.2se%%S\", $%d)) w labels rotate by 20 font \"monospace,%d\" notitle,\\", path, i, i+2, i+2, labels_font_size);
294
294
}
295
295
elseif (i==(number_of_events-1)){//last
296
-
gnuplot_cmd(h, "\"%s\" using ((d='|'.strcol(1).'|', add_label(d),index(d))+(d_width*%d)):%d:(gprintf(\"%%.2se%%S\", $%d)) w labels rotate by 20 font \"Verdana,%d\" notitle", path, i, i+2, i+2, labels_font_size);
296
+
gnuplot_cmd(h, "\"%s\" using ((d='|'.strcol(1).'|', add_label(d),index(d))+(d_width*%d)):%d:(gprintf(\"%%.2se%%S\", $%d)) w labels rotate by 20 font \"monospace,%d\" notitle", path, i, i+2, i+2, labels_font_size);
297
297
}
298
298
else{
299
-
gnuplot_cmd(h, "\"%s\" using ((d='|'.strcol(1).'|', add_label(d),index(d))+(d_width*%d)):%d:(gprintf(\"%%.2se%%S\", $%d)) w labels rotate by 20 font \"Verdana,%d\" notitle,\\", path, i, i+2, i+2, labels_font_size);
299
+
gnuplot_cmd(h, "\"%s\" using ((d='|'.strcol(1).'|', add_label(d),index(d))+(d_width*%d)):%d:(gprintf(\"%%.2se%%S\", $%d)) w labels rotate by 20 font \"monospace,%d\" notitle,\\", path, i, i+2, i+2, labels_font_size);
300
300
}
301
301
}
302
302
}
@@ -331,7 +331,7 @@ const int is_papioutput(const char *filename) {
0 commit comments