- array_append_format (args, "%s:def_%04i_avg#%06"PRIx32":%s%s",
- def->area ? "AREA" : "LINE1",
- index, def->color,
- (def->legend != NULL) ? def->legend : def->ds_name,
- def->stack ? ":STACK" : "");
- array_append_format (args, "GPRINT:vdef_%04i_min:%s min,",
- index, (def->format != NULL) ? def->format : "%lg");
- array_append_format (args, "GPRINT:vdef_%04i_avg:%s avg,",
- index, (def->format != NULL) ? def->format : "%lg");
- array_append_format (args, "GPRINT:vdef_%04i_max:%s max,",
- index, (def->format != NULL) ? def->format : "%lg");
- array_append_format (args, "GPRINT:vdef_%04i_lst:%s last\\l",
- index, (def->format != NULL) ? def->format : "%lg");
+ array_prepend_format (args->lines, "GPRINT:vdef_%04i_lst:%s last\\l",
+ index, (def->format != NULL) ? def->format : "%6.2lf");
+ array_prepend_format (args->lines, "GPRINT:vdef_%04i_max:%s max,",
+ index, (def->format != NULL) ? def->format : "%6.2lf");
+ array_prepend_format (args->lines, "GPRINT:vdef_%04i_avg:%s avg,",
+ index, (def->format != NULL) ? def->format : "%6.2lf");
+ array_prepend_format (args->lines, "GPRINT:vdef_%04i_min:%s min,",
+ index, (def->format != NULL) ? def->format : "%6.2lf");
+ array_prepend_format (args->lines, "LINE1:%s#%06"PRIx32":%s",
+ draw_def, def->color,
+ (def->legend != NULL) ? def->legend : def->ds_name);