octave-maintainers
[Top][All Lists]
Advanced

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

Re: support for advanced gnuplot features (was: Plotting semi-trasnparen


From: Ben Abbott
Subject: Re: support for advanced gnuplot features (was: Plotting semi-trasnparent patches?)
Date: Thu, 29 Jan 2009 10:49:25 -0500

On Thursday, January 29, 2009, at 10:09AM, "John W. Eaton" <address@hidden> 
wrote:
>On 29-Jan-2009, Ben Abbott wrote:
>
>| 
>| On Jan 28, 2009, at 9:57 PM, John W. Eaton wrote:
>| 
>| > Even without a version of gnuplot that supports the X11 window
>| > position feature, I see a difference with this patch, and I wasn't
>| > expecting that.  Given the following sequence
>| >
>| >  xlabel ("foo");
>| >  ## move window with mouse
>| >  ylabel ("bar");
>| >
>| > Without the patch, the window stays put after moving it with the
>| > mouse.
>| >
>| > With the patch, and a version of gnuplot that does not support the
>| > position feature, the window moves back to its original position after
>| > the ylabel call.
>| 
>| I think you got that backwards (or my changeset is improperly  
>| implemented).
>| 
>| With or without my changeset , and without the gnuplot patch  
>| supporting the position feature, the window should stay put.
>
>It doesn't, at least for me.  When I apply the patch and use gnuplot
>4.2.2, and execute the sequence above, the window moves back to the
>original position after the call to ylabel.  If I remove the patch,
>the window stays put.

Ok, I found the problem. Try the attached version.

btw, while looking at this I noticed an unexpected behavior

octave:8> true && NaN
ans =  1

For Matlab

>> true && NaN
??? NaN's cannot be converted to logicals.

Shall I file a bug report?

Ben

Attachment: changeset-x11_position.patch
Description: Binary data


reply via email to

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