Mercurial > hg > octave-lyh
changeset 10010:c5e9931c7ba7
Correctly produce postcript output for geometryimages when QHULL library is not present
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sun, 20 Dec 2009 17:02:57 -0800 |
parents | 360de61b2722 |
children | 411325ce32d7 |
files | doc/ChangeLog doc/interpreter/geometryimages.m |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2009-12-20 Rik <octave@nomad.inbox5.com> + + * interpreter/geometryimages.m: Correctly set postscript output when QHULL + library does not exist and sombrero image is printed. + 2009-12-19 Rik <octave@nomad.inbox5.com> * Makefile.am, faq/Makefile.am, interpreter/Makefile.am,
--- a/doc/interpreter/geometryimages.m +++ b/doc/interpreter/geometryimages.m @@ -140,6 +140,11 @@ else ## if (!strcmp (typ, "txt")) hide_output (); + if (strcmp (typ, "eps")) + d_typ = "-depsc2"; + else + d_typ = cstrcat ("-d", typ); + endif x = y = linspace (-8, 8, 41)'; [xx, yy] = meshgrid (x, y);