[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ginput returns instantly
From: |
Ben Abbott |
Subject: |
Re: ginput returns instantly |
Date: |
Thu, 31 Dec 2009 14:33:18 -0500 |
On Thursday, December 31, 2009, at 01:10PM, "roumbaba" <address@hidden> wrote:
>
>also:
>octave> plot(1:10); [x,y,k] = ginput(1)
>yields:
>x = 0
>y = 0
>k = -1
>
>I am running aquaterm v1.0.1
>
>
>Hi all,
>
>I am trying to use ginput but can't seem to get it to work really. Here is
>what I do:
>If i type:
>octave> plot(1:10); [x,y] = ginput(1)
>then I instantly get
>x = 0
>y = 0
>
>ginput does *NOT* wait for me to actually click on the plot.
>
>I am probably missing something obvious but can't find what.
>I tried both octave versions 3.0.5 and 3.2.3 (with the patches below).
>I am running octave in os x 10.5.8 with gnuplot 4.2 patch level 3
>
>Thanks,
>
>Baba.
Unfortunately, ginput does not work when using Aquaterm. My understanding is
that this is a limitation of Aquaterm (whose development appears to have
ended). You can try using X11.
close all
setenv ("GNUTERM", "x11")
plot(1:10); [x,y] = ginput(1)
If X11 is not running, you'll need to start it. If it is installed, it will be
in your utilities folder.\
Ben