octave-maintainers
[Top][All Lists]
Advanced

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

Re: Ginput doesn't work in 3.2.3


From: Ben Abbott
Subject: Re: Ginput doesn't work in 3.2.3
Date: Wed, 2 Dec 2009 10:00:03 -0500

Moving from bug-octave ...

On Nov 30, 2009, at 6:18 PM, Petr Mikulik wrote:

>>>>> clf
>>>>> imshow(rand(100))
>>>>> [x,y,k]=ginput(1)
>>>       fputs (ostream, "unset multiplot;\n\n");
>> (1) Add a "set multiplot" in __go_draw_figure__ after drawing all axes
> 
> Yes, this is (almost) the solution.
> 
> Please notice that the current behaviour (i.e. incomplete "set multiplot" / 
> "unset multiplot") is actually a bug disabling hotkey and mousing 
> funcionality for 2d plots.
> 
> Please fix it with the enclosed patch.
> 
> (Note: "unset multiplot" makes no harm if there is no previous "set 
> multiplot".)
> 
> ---
> Petr Mikulik<unset_multiplot.patch>

Attached is a mercurial changeset for Petr's patch. I've tested it under 3.2.x.

If there are no objections, I'll push this later today.

John, in the event __go_draw_figure__ becomes a subfunction of gnuplot_drawnow 
today, I'll modify the changeset.

Ben


Attachment: changeset.patch
Description: Binary data


reply via email to

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