From 77094a9339cfe91244e90e3f1e2ee96fc3f943b5 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 28 Jun 2012 01:17:16 -0400 Subject: [PATCH] Limit default graphMatrixFile palette to 8192 colors. For some reason, leaving it at the default 32761 gives me unfilled color bars for z scaling. --- src/figures/asy/wtk_graph.asy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.26.2