[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: plotyy broken in 3.6.1?
From: |
Ben Abbott |
Subject: |
Re: plotyy broken in 3.6.1? |
Date: |
Mon, 21 May 2012 11:48:20 -0400 |
On May 21, 2012, at 6:33 AM, marco atzeri wrote:
> On 5/21/2012 10:33 AM, Ben Abbott wrote:
>>
>> On May 21, 2012, at 1:27 AM, marco atzeri wrote:
>>
>>> On 5/20/2012 11:43 PM, Ben Abbott wrote:
>>>>
>>>> On May 20, 2012, at 5:32 PM, Ben Abbott wrote:
>>>>
>>>>> On May 20, 2012, at 3:21 PM, marco atzeri wrote:
>>>>>
>>>>>> On 5/20/2012 8:22 PM, Ben Abbott wrote:
>>>>>>>
>>>>>>> On May 20, 2012, at 2:10 AM, marco atzeri wrote:
>>>>>>>
>>>>>>>> On 5/20/2012 1:54 AM, notMyUsername wrote:
>>>>>>>
>>>>>>> I pushed a fix.
>>>>>>>
>>>>>>> http://hg.savannah.gnu.org/hgweb/octave/rev/161d06a52360
>>>>>>>
>>>>>>> Ben
>>>>>>>
>>>>>>
>>>>>> on cygwin with gnuplot, it is not effective, only 1 curve is plotted.
>>>>>> I also noticed that a second call to plotyy causes a crash
>>>>>>
>>>>>> octave:16> subplot(3,1,3)
>>>>>> octave:17> hold on
>>>>>> octave:18> title('x(t), y(y)')
>>>>>> octave:19> plotyy(t,x,t,y);
>>>>>> octave:20> plotyy(t,x,t,y)
>>>>>> error: get: invalid handle (= -13.88)
>>>>>> error: called from:
>>>>>> error: /pub/hg/octave_build/../octave/scripts/plot/plotyy.m at line
>>>>>> 162, column 10
>>>>>> error: /pub/hg/octave_build/../octave/scripts/plot/plotyy.m at line
>>>>>> 110, column 19
>>>>>> error: invalid conversion from real matrix to real scalar
>>>>>> error: __calc_dimensions__: expecting graphics handle as only argument
>>>>>> error: called from:
>>>>>> error:
>>>>>> /pub/hg/octave_build/../octave/scripts/plot/private/__go_draw_axes__.m
>>>>>> at line 55, column 8
>>>>>> error:
>>>>>> /pub/hg/octave_build/../octave/scripts/plot/private/__go_draw_figure__.m
>>>>>> at line 167, column 19
>>>>>> error: /pub/hg/octave_build/../octave/scripts/plot/__gnuplot_drawnow__.m
>>>>>> at line 86, column 5
>>>>>> octave:20> ^C
>>>>>>
>>>>>
>>>>> I can reproduce the error, and opened a bug report.
>>>>>
>>>>> https://savannah.gnu.org/bugs/index.php?36508
>>>>>
>>>>> Regarding the original problem, what version of gnuplot are you using ?
>>>>> And, can you email me the "debug.gp" produced by the command below after
>>>>> running the script by "NotMyUsername" ?
>>>>>
>>>>> drawnow ("windows", "/dev/null", false, "debug.gp")
>>>>>
>>>>> Ben
>>>>
>>>> Opps ... "Cygwin"
>>>>
>>>> Cygwin uses X11 correct ?
>>>>
>>>> drawnow ("x11", "/dev/null", false, "debug.gp")
>>>>
>>>> Ben
>>>
>>> attached.
>>> moving to maintainers for followup
>>>
>>> Regards
>>> Marco
>>>
>>> <debug.gp>
>>
>> Thanks.
>>
>> I don't see the "unset obj 2" command in the plot stream (this is the only
>> difference between your debug.gp and the one I created).
>> Can you verify that changeset below applied correctly to your sources ?
>>
>> http://hg.savannah.gnu.org/hgweb/octave/rev/161d06a52360
>>
>> Ben
>
> I see on "unset obj 2" at all, only one "unset obj 1"
>
> rebuilt for cross check from:
>
> $ hg tip
> changeset: 14664:161d06a52360
> tag: tip
> parent: 14662:dee1452ca601
> user: Ben Abbott <address@hidden>
> date: Sun May 20 14:18:53 2012 -0400
> summary: Gnuplot toolkit: Unset color from previous axis.
>
> Regards
> Marco
> <debug2.gp>
I agree there is no "unset obj 2" in your version.
I've attached the gnuplot command file that drawnow produces for me.
Ben
debug-macos.gp
Description: Binary data