-
Notifications
You must be signed in to change notification settings - Fork 0
/
flags.h
47 lines (45 loc) · 1.97 KB
/
flags.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* Copyright (c) 1991, 1997
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, and other materials related to such
* distribution and use acknowledge that the software was developed
* by the University of California, Lawrence Berkeley Laboratory,
* Berkeley, CA. The name of the University may not be used to
* endorse or promote products derived from this software without
* specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* This code is derived from the original X10 xgraph written by
* David Harrison University of California, Berkeley 1986, 1987
*
* Heavily hacked by Van Jacobson and Steven McCanne, UCB/LBL: added mouse
* functions to id points and compute slopes and distances. added keystroke
* commands to toggle most of the visual attributes of a window (grid, line,
* markers, etc.).
*/
struct plotflags {
char spline; /* Draw lines with spline */
char tick; /* Don't draw full grid */
char mark; /* Draw marks at pochars */
char outline; /* Whether to draw graph outline */
char nolines; /* Don't draw lines */
char pixmarks; /* Draw pixel markers */
char bar; /* Draw bar graph */
char rectangle; /* Draw rectangles */
char errorbar; /* Draw error bars */
};
extern char naturalScroll; /* Pan the content rather than window */
extern int dateXFlag; /* Date X axis */
extern int localTime; /* Show timestamps as local time not GMT */
extern int logXFlag; /* Logarithmic X axis */
extern int logYFlag; /* Logarithmic Y axis */
extern char *geometry;
extern int cflag;
extern double slope_scale;
extern char *graph_title;