[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using ginput with subplots
From: |
Francesco Potortì |
Subject: |
using ginput with subplots |
Date: |
Fri, 06 Aug 2010 11:32:26 +0200 |
I cannot seem to use ginput with subplots in Octave 3.2.4 on Debian with
gnuplot. I would bet it used to work in previous Octave 3 versions.
If I do
close;
axis(1:4);
[gx gy gbutton] = ginput(1)
I get a window with axes and, by clicking on it, I get back ginput's
values. On the other hand, if I do
close;
subplot(2,1,2); axis(1:4);
subplot(2,1,1); axis(11:14);
[gx gy gbutton] = ginput(1)
I get a window with two empty subplots. Wherever I click on the window,
I get meaningless return values from ginput:
gx = 0
gy = 0
gbutton = -1
Is this a known limitation or do I need to do something else to use
ginput on subplots?
--
Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR Fax: +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa Email: address@hidden
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- using ginput with subplots,
Francesco Potortì <=