From bug-request at octave dot org Sat Jan 15 21:02:54 2005 Subject: Problem plotting from rldemo From: Eric Smith To: bug-octave at bevo dot che dot wisc dot edu Date: Sat, 15 Jan 2005 20:35:41 -0600 Octave support team: Octave fails to generate gnuplot output during rldemo (also with DEMOcontrol). The problem seems to be in the syntax of the commands issued to gnuplot. In the line below, the file/directory syntax is wrong. save set "C:\cygwin\tmp/oct-22ffd4.2" This should be "C:/cygwin/tmp/oct-22ffd4.2" More complete output included below. Eric Smith Octave output ----------------------------------------------------------------------------------------------------------- esmith at MyPrecious ~ $ octave GNU Octave, version 2.1.49 (i686-pc-cygwin). Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 John W. Eaton. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. Please contribute if you find this software useful. For more information, visit http://www.octave.org/help-wanted.html Report bugs to . octave:1> version ans = 2.1.49 octave:2> rldemo 1 executing error: gnuplot not responding error: evaluating if command near line 57, column 5 error: evaluating while command near line 55, column 3 error: called from `gget' in file `/usr/share/octave/2.1.49/site/m/octave-forge/ plot/gget.m' error: evaluating argument list element number 1 error: if: error evaluating conditional expression error: evaluating if command near line 44, column 5 error: evaluating if command near line 43, column 3 error: called from `grid' in file `/usr/share/octave/2.1.49/site/m/octave-forge/ FIXES/grid.m' error: called from `pzmap' in file `/usr/share/octave/2.1.49/m/control/base/pzma p.m' error: near line 28 of file `/usr/share/octave/2.1.49/m/control/util/run_cmd.m' error: evaluating if command near line 39, column 5 error: evaluating while command near line 30, column 3 error: called from `rldemo' in file `/usr/share/octave/2.1.49/m/control/base/rld emo.m' octave:3> ---------------------------------------------------------------------------------------------- gnuplot output G N U P L O T Version 3.7 patchlevel 3 last modified Thu Dec 12 13:00:00 GMT 2002 System: MS-Windows 32 bit Copyright(C) 1986 - 1993, 1998 - 2002 Thomas Williams, Colin Kelley and many others Type `help` to access the on-line reference manual The gnuplot FAQ is available from http://www.gnuplot.info/gnuplot-faq.html Send comments and requests for help to Send bugs, suggestions and mods to Terminal type set to 'windows' gnuplot> set data style lines gnuplot> set autoscale gnuplot> set nologscale xy gnuplot> set title "Pole-zero map from u_1 to y_1" gnuplot> set xlabel "Re(s)" gnuplot> set ylabel "Im(s)" gnuplot> save set "C:\cygwin\tmp/oct-22ffd4.2" ^ Cannot open save file (Invalid argument) gnuplot> ---------------------------------------------------------------------------------------------- Output from cygwin esmith at MyPrecious ~ $ ls C:\cygwin\tmp ls: C:cygwintmp: No such file or directory esmith at MyPrecious ~ $ ls C: ADS2003A IPH.PH WinPSKse223 AUTOEXEC.BAT Lotus boot.ini AWZ Data Analysis MSDOS.SYS cygwin BJPrinter My Music gs CONFIG.SYS NTDETECT.COM hiberfil.sys C_DILLA Program Files ldw51 DOCS PropheSi_VPNClient matlab_sv13 DPL Ptolemy ntldr DTOOLS RECYCLER pagefile.sys Documents and Settings System Volume Information quickenw Download Toshiba swfout.txt GraphPap WINDOWS users IO.SYS WUTemp workssetup esmith at MyPrecious ~ $ ls C:\cygwin ls: C:cygwin: No such file or directory esmith at MyPrecious ~ $ ls C:/cygwin bin cygdrive cygwin.bat cygwin.ico etc home lib sbin tmp usr var esmith at MyPrecious ~ $ ls C:/cygwin/tmp XWin.log oct-22fa90.0 octave-bug.1876 esmith oct-22fa90.3 octave-bug.1876.x esmith at MyPrecious ~ $ ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------