12 Error(const char *fmt, ...)
16 fprintf(stderr, "%s: ", programname);
18 vfprintf(stderr, fmt, ap);
20 fprintf(stderr, "\n");
26 Disaster(const char *fmt, ...)
30 fprintf(stderr, "%s: ", programname);
31 fprintf(stderr, " Disaster! (");
33 vfprintf(stderr, fmt, ap);
35 fprintf(stderr, ")\n");
43 if (str) printf("error: %s\n", str);
44 printf("usage: %s -b -d -ef -g -i -p -mn -p -s -tf -y [file[.hp]]\n", programname);
45 printf("where -b use large title box\n");
46 printf(" -d sort by standard deviation\n");
47 printf(" -ef[in|mm|pt] produce Encapsulated PostScript f units wide (f > 2 inches)\n");
48 printf(" -g produce output suitable for GHOSTSCRIPT previever\n");
49 printf(" -i[+|-] sort by identifier string (-i+ gives greatest on top) \n");
50 printf(" -M multi-page output (key separate from graph)\n");
51 printf(" -mn print maximum of n bands (default & max 20)\n");
52 printf(" -m0 removes the band limit altogether\n");
53 printf(" -p use previous scaling, shading and ordering\n");
54 printf(" -s use small title box\n");
55 printf(" -tf ignore trace bands which sum below f%% (default 1%%, max 5%%)\n");
56 printf(" -y traditional\n");
57 printf(" -c colour ouput\n");