help-octave
[Top][All Lists]
Advanced

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

Re: Octave plot graphics window


From: Tatsuro MATSUOKA
Subject: Re: Octave plot graphics window
Date: Fri, 18 Mar 2011 14:02:57 +0900 (JST)

Hello

--- Ben Abbott  wrote:

> On Mar 17, 2011, at 7:58 PM, findtype wrote:
> 
> > On Thu, Mar 17, 2011 at 7:06 PM, marco atzeri <address@hidden> wrote:
> >> On Thu, Mar 17, 2011 at 9:42 PM, findtype  wrote:
> >> > Hi,
> >> > I'm trying use Octave on Cygwin.  The Octave plot function is generating 
> >> > a
> >> > "printer-plot" in the command window.  How can I get a graphics window
> >> > opened to contain the plot?
> >> > Thanks for any help.
> >> > Ted
> >> 
> >> something like
> >> 
> >> octave:2> plot(x,x)
> >> warning: X11 DISPLAY environment variable not set
> >> ...
> >> 
> >> You should start octave inside xterm (and with X11 server running of 
> >> course ) .
> >> 
> >> Marco
> > 
> > Thank you for your reply.  Yes, the warning about "X11 DISPLAY" is exactly 
> > what appears.  But
> I'm working on a stand-alone PC running cygwin.  So there's no "X11 server."  
> Is there another
> way to get the octave plots?
> > 
> > Ted
> 
> I'm not a windows user, but ... sssuming you have gnuplot installed and that 
> it was built to
> support the windows terminal, from Octave you can try ...
> 
>       close all
>       setenv ("GNUTERM", "windows")
>       plot (1:10)

Currently on windows, only cygwin version is avaiable for version 3.4.
Thus

>       setenv ("GNUTERM", "windows")

is not correct.
For Cygwin, one should install X11 and gnuplot for cygwin by CYgwin setup 
command.

Regards

Tatsuro



reply via email to

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