# HG changeset patch # User jwe # Date 1174959483 0 # Node ID 75db909a53ccae5133cba2d0964b143617ca8184 # Parent ed17f1c8f7200dd8d8772c53a8eaedd186af8c6c [project @ 2007-03-27 01:38:03 by jwe] diff -r ed17f1c8f720 -r 75db909a53cc scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Mon Mar 26 21:35:54 2007 +0000 +++ b/scripts/plot/__go_draw_axes__.m Tue Mar 27 01:38:03 2007 +0000 @@ -303,7 +303,7 @@ fwrite (img_fid, img_data(:), "float"); format = "1"; imagetype = "image"; - ## Only need to set pallete once because it doesn't change + ## Only need to set palette once because it doesn't change ## on a figure. if (! palette_set) palette_set = 1; @@ -314,8 +314,7 @@ fprintf (plot_stream, "set palette file \"-\" binary record=%d using 1:2:3:4;\n", palette_size); - fwrite (plot_stream, [1:palette_size; img_colormap'], - "float32", 0, "ieee-le"); + fwrite (plot_stream, [1:palette_size; img_colormap'], "float32"; endif endif fclose (img_fid);