[CHANGESET] updated print.m
Ben Abbott
bpabbott at mac.com
Fri May 22 20:23:35 CDT 2009
On Friday, May 22, 2009, at 10:25AM, "Marco Atzeri" <marco_atzeri at yahoo.it> wrote:
>
>--- Ven 22/5/09, Benjamin Lindner <lindnerben at gmx.net> ha scritto:
>
>> Da: Benjamin Lindner <lindnerben at gmx.net>
>> Oggetto: Re: [CHANGESET] updated print.m
>> A: "Ben Abbott" <bpabbott at mac.com>
>> Cc: "John W. Eaton" <jwe at octave.org>, "Rik" <rdrider0-list at yahoo.com>, "octave maintainers mailing list" <maintainers at octave.org>, "Michael D. Godfrey" <godfrey at isl.stanford.edu>
>> Data: Venerdì 22 maggio 2009, 15:43
>> >
>> > I've pushed this changeset. If anyone has trouble
>> printing let me know (particularly on Windows).
>> >
>>
>> I did a check using print.m on mingw32 (not printing to
>> hardware) using this simple test sequence:
>>
>> plot(0:0.1:10, sin(0:0.1:10), "@-;sin;", 0:0.1:10,
>> cos(0:0.1:10), "@-;cos;");
>> print -depsc2 test.eps
>> print -dpsc2 test.ps
>> print -dpng test.png
>> print -demf test.emf
>> print -dpdf test.pdf
>>
>> and all work except the pdf output.
>
>On cygwin everything is working including pdf.
>The only issue is the orientation, ps and pdf are portrait.
>How to change it ?
>
Try
set (gcf, "paperorientation", "landscape")
Ben
More information about the Octave-maintainers
mailing list