From: W. Trevor King Date: Thu, 28 Jun 2012 05:17:16 +0000 (-0400) Subject: Limit default graphMatrixFile palette to 8192 colors. X-Git-Tag: v1.0~303 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77094a9339cfe91244e90e3f1e2ee96fc3f943b5;p=thesis.git Limit default graphMatrixFile palette to 8192 colors. For some reason, leaving it at the default 32761 gives me unfilled color bars for z scaling. --- diff --git a/src/figures/asy/wtk_graph.asy b/src/figures/asy/wtk_graph.asy index ca997b7..77e1395 100644 --- a/src/figures/asy/wtk_graph.asy +++ b/src/figures/asy/wtk_graph.asy @@ -147,7 +147,7 @@ void graphMatrixFile(picture pic=currentpicture, string file="datafile", int xcol=0, int ycol=1, int zcol=2, real xscale=1, real yscale=1, real[] zfn(real[] z)=identity_zfn, - pen[] p=BWRainbow(), Label x_label=null, + pen[] p=BWRainbow(8192), Label x_label=null, Label y_label=null, Label palette_label=null, real palette_offset=6pt, real palette_width=12pt) { file fin = input(file).line();