|
From: Mojca M. <moj...@gm...> - 2011-01-09 23:52:20
|
Dear list,
I'm not sure if the behaviour of metapost is desirable or not, but
plot sin(x),cos(x)
creates a black sin(x) and red cos(x) since the colors are defined in
the following way:
col0:=black;
col1:=red;
col2:=(.2,.2,1); %blue
col3:=(1,.66,0); %orange
col4:=.85*green;
col5:=.9*magenta;
col6:=0.85*cyan;
col7:=.85*yellow;
In my metapost-based terminal I was using the same basic colors as
PostScript terminal:
col[-4] = gp_color_background;
col[-3] = gp_color_background; % TODO: nodraw!!!
col[-2] = gp_color_foreground;
col[-1] = gp_color_foreground; % coordinate axes
col[0] = red;
col[1] = green;
col[2] = blue;
col[3] = magenta;
col[4] = cyan;
col[5] = yellow;
col[6] = black;
col[7] = (1,.3,0); % orange
col[8] = .5white;
I'm not saying that the choice is perfect (the color #00FF00 is indeed
a bit horrible), but it's a bit anoying to have the basic color black;
I don't really mind about the exact order of other colors.
Mojca
|