History

Plan 9 from Bell Labs Second Edition 1995-04-05

David du Colombier committed 31 years ago2e-1995-04-05

Commit 219b2ee1 parent bd389b311749 files · +2555453 −1889727Browse files

Showing the changes to sys/src/cmd/plot/libplot/mplot.h (1 of 11749 files). Show all

Unified · Split

sys/src/cmd/plot/libplot/mplot.h+10−9
@@ -25,16 +25,17 @@ struct seg { · 24 unmodified lines
25 char stat;25 char stat;
26};26};
27/*27/*
28 * Color values28 * Color values -- these only work with ldepth=3 & standard plan 9 color map
29 */29 */
30#define ZERO 330#define RGB(r,g,b) (255&~(((r)<<5)|((g)<<2)|((b)>>1)))
31#define RED 231#define ZERO RGB(0,0,0) /* really should be ~0, but bcolor uses neg for error */
32#define GREEN 232#define RED RGB(7,0,0)
33#define YELLOW 133#define GREEN RGB(0,7,0)
34#define BLUE 234#define YELLOW RGB(7,7,0)
35#define MAGENTA 135#define BLUE RGB(0,0,7)
36#define CYAN 136#define MAGENTA RGB(7,0,7)
37#define WHITE 037#define CYAN RGB(0,7,7)
38#define WHITE RGB(7,7,7)
38/*39/*
39 * display parameters40 * display parameters
40 */41 */