Missing information in print docu

Stefan Pofahl stefan at pofahl.de
Thu Feb 5 15:50:51 CST 2009


Hello John,

> What error do you see?
Here are the two commands:
octave-3.0.3.exe:16> line_hdl = plot(0);
octave-3.0.3.exe:17> print("e:\\foo.ps", '-landscape', '-dps');

Here is the output:
error: drawnow: nonexistent directory `e:'
error: evaluating if command near line 47, column 7
error: evaluating if command near line 45, column 5
error: called from `drawnow' in file
`C:\Programme\Octave\share\octave\3.0.3\m\plot\drawnow.m'
error: evaluating if command near line 412, column 3
error: called from `print' in file
`C:\Programme\Octave\share\octave\3.0.3\m\plot\print.m'
octave-3.0.3.exe:17>

Regards,

Stefan

***


2009/2/5 John W. Eaton <jwe at octave.org>:
> On  5-Feb-2009, Stefan Pofahl wrote:
>
> | Bug report for Octave 3.0.3 configured for i686-pc-msdosmsvc
> |
> | Description:
> | -----------
> |
> |    * If you want to specify the full path to your output file
> |      on a MS-Windows machine, you have to use the unix style
> |      for the directory delimiters.
> |
> | Repeat-By:
> | ---------
> |
> |    * Call print with full-path file name on MS-WIN machines.
> |      Example: print("e:\\temp\\foo.png", "-dpng"
>
> What error do you see?
>
> I don't have Octave on a Windows system but might be able to suggest a
> fix anyway.  Or, since print.m is a .m file, maybe you could suggest a
> patch that works for you?
>
> jwe
>



-- 
Tel.: 0731-3805149
Ochsensteige 48
89075 Ulm


More information about the Bug-octave mailing list