Mercurial > hg > octave-lyh
changeset 6462:75db909a53cc
[project @ 2007-03-27 01:38:03 by jwe]
author | jwe |
---|---|
date | Tue, 27 Mar 2007 01:38:03 +0000 |
parents | ed17f1c8f720 |
children | f7910fd3b96e |
files | scripts/plot/__go_draw_axes__.m |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -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);