comparison scripts/image/saveimage.m @ 1136:f0c564a57b2c

[project @ 1995-02-24 16:35:59 by jwe]
author jwe
date Fri, 24 Feb 1995 16:35:59 +0000
parents aa777b1a585e
children 611d403c7f3d
comparison
equal deleted inserted replaced
1135:32cb143658a6 1136:f0c564a57b2c
75 ps_file = filename; 75 ps_file = filename;
76 endif 76 endif
77 77
78 # Save image in octave image file format 78 # Save image in octave image file format
79 79
80 eval (['save -asciii ', oct_file, ' map X']); 80 eval (['save -ascii ', oct_file, ' map X']);
81 81
82 # Convert to another format if requested. 82 # Convert to another format if requested.
83 83
84 if (strcmp (img_form, "ppm") == 1) 84 if (strcmp (img_form, "ppm") == 1)
85 octtopnm = sprintf ("octtopnm %s > %s", oct_file, filename); 85 octtopnm = sprintf ("octtopnm %s > %s", oct_file, filename);