[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: octaverc directory initialization and plot

From: Lance McBride
Subject: RE: octaverc directory initialization and plot
Date: Wed, 22 Apr 1998 14:41:00 -0700

> -----Original Message-----
> From: John W. Eaton [mailto:address@hidden
> Sent: Wednesday, April 22, 1998 12:53 PM
> To: Lance McBride
> Cc: Octave Help List (E-mail)
> Subject: octaverc directory initialization and plot
> On 22-Apr-1998, Lance McBride <address@hidden> wrote:
> | I've set up my initialization file to start up in a data
> directory, so I can
> | run project files, and for some reason, the plot command
> will not work (the
> | command is issued but no plot window appears).  If I issue
> a replot command,
> | the window shows up, but no data appears in the plot window.
> |
> | For reference, octave is installed in:
> | c:\octave (i.e. standard installation)
> |
> | Here are the desired contents of my octaverc file:
> | gnuplot_binary = "gnuplot -stdin"
> | cd //d/documents/octave
> |
> | Here are the contents of the project file (test.m), located
> in the directory
> | d:\documents\octave, that I used to test the functonality:
> | t=0:.05:10;
> | y=sin(t);
> | plot(t,y);
> |
> | This is totally related to the cd command when switching to another
> | partition.  It fails if I use the same cd command in the
> initialization
> | file, and it fails if I type it in manually at the octave
> command prompt.
> |
> | If I copy test.m to c:\octave\bin\documents\octave and change "cd
> | //d/documents/octave" to "documents/octave", test.m works
> fine.  This is a
> | fair problem, since our network backup only backs up my d:
> partition.
> I think the solution to this problem is to mount your d: partition so
> that you can access it without having to use d:\ or //d.  For example,
>   cd /
>   mkdir /D_DRIVE
>   mount d: /D_DRIVE
> (you can use whatever name you prefer instead of D_DRIVE, of course).
> See also the gnu-win32 FAQ available from
> jwe

It still doesn't work.

I opened a command prompt from within NT.
Opened a bash shell.
Typed cd / <enter>.
Typed mkdir /D_DRIVE <enter>.
Typed mount d: /D_DRIVE <enter>.
Edited my octaverc to read: cd /D_DRIVE/documents/octave.
>From the bash prompt, typed octave <enter>.
>From the octave prompt, typed test <enter>.
I got the same response as before, complete with the replot response.

Both partitions are FAT, not NTFS.  I tested the /D_DRIVE alias, from within
bash, and it works.  The alias also works, up to the plotting point, within

Thanks again for your help,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]