Mercurial > hg > octave-lyh
comparison scripts/plot/print.m @ 5659:960f4b9a26af
[project @ 2006-03-10 15:35:20 by jwe]
author | jwe |
---|---|
date | Fri, 10 Mar 2006 15:35:21 +0000 |
parents | f88f2e35ad6e |
children | dec8dd15a574 |
comparison
equal
deleted
inserted
replaced
5658:7b45fda21557 | 5659:960f4b9a26af |
---|---|
340 | 340 |
341 end_unwind_protect | 341 end_unwind_protect |
342 | 342 |
343 if (! isempty (convertname)) | 343 if (! isempty (convertname)) |
344 command = sprintf ("convert '%s' '%s'", name, convertname); | 344 command = sprintf ("convert '%s' '%s'", name, convertname); |
345 [output, errcode] = system (command); | 345 [errcode, output] = system (command); |
346 unlink (name); | 346 unlink (name); |
347 if (errcode) | 347 if (errcode) |
348 error ("print: could not convert"); | 348 error ("print: could not convert"); |
349 endif | 349 endif |
350 endif | 350 endif |