Commit fa5759d6 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Improve graph presentation

parent b9a38476
......@@ -112,7 +112,7 @@ void blc_mems_fprint_graph_uchars(blc_mem *const*mems, int mems_nb, FILE *file,
int range, ordinate_name_length, ordinate_name_position;
int j, threhold, threhold1, graph_id;
char c;
char vertical_arrow[] = "^ ";
char vertical_arrow[] = "^|";
ordinate_name_position = - strlen(vertical_arrow);
......@@ -165,6 +165,7 @@ void blc_mems_fprint_graph_uchars(blc_mem *const*mems, int mems_nb, FILE *file,
}
FOR(graph_id, mems_nb){
if (abscissa_name==NULL) abscissa_name="";
for (i = fprintf(file, " 0%%(%d) %s ", min, abscissa_name); i < mems[graph_id]->size * 3; ++i)
fputc('-', file);
fputc('>', file);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment