Mercurial > hg > octave-lyh
comparison scripts/plot/print.m @ 11601:3706ac0750f1 release-3-0-x
[3-0-0-branch @ 2008-01-02 07:42:12 by jwe]
author | jwe |
---|---|
date | Wed, 02 Jan 2008 07:42:13 +0000 |
parents | 3fade00a6ac7 |
children | 0114d8cd1587 |
comparison
equal
deleted
inserted
replaced
11600:54b0bf8abe50 | 11601:3706ac0750f1 |
---|---|
1 ## Copyright (C) 1999, 2005, 2006, 2007 Daniel Heiserer | 1 ## Copyright (C) 1999, 2005, 2006, 2007, 2008 Daniel Heiserer |
2 ## Copyright (C) 2001 Laurent Mazet | 2 ## Copyright (C) 2001 Laurent Mazet |
3 ## | 3 ## |
4 ## This file is part of Octave. | 4 ## This file is part of Octave. |
5 ## | 5 ## |
6 ## Octave is free software; you can redistribute it and/or modify it | 6 ## Octave is free software; you can redistribute it and/or modify it |
354 if (isempty (size)) | 354 if (isempty (size)) |
355 options = " large"; | 355 options = " large"; |
356 else | 356 else |
357 options = strcat (" size ", size); | 357 options = strcat (" size ", size); |
358 endif | 358 endif |
359 new_terminal = strcat ("png", options); | 359 new_terminal = strcat (dev, options); |
360 | 360 |
361 elseif (strcmp (dev, "dxf") || strcmp (dev, "mf") || strcmp (dev, "hpgl")) | 361 elseif (strcmp (dev, "dxf") || strcmp (dev, "mf") || strcmp (dev, "hpgl")) |
362 ## AutoCad DXF, METAFONT, HPGL | 362 ## AutoCad DXF, METAFONT, HPGL |
363 new_terminal = dev; | 363 new_terminal = dev; |
364 | 364 |