help-octave
[Top][All Lists]
Advanced

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

Re: Octave plot graphics window


From: Ben Abbott
Subject: Re: Octave plot graphics window
Date: Thu, 17 Mar 2011 20:24:41 -0400

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)

Ben


reply via email to

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