bug-apl
[Top][All Lists]
Advanced

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

Re: ⎕PLOT


From: Dr . Jürgen Sauermann
Subject: Re: ⎕PLOT
Date: Sun, 19 Jun 2022 19:20:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

Hi Hudson,

thanks, see below.

Best Regards,
Jürgen


On 6/19/22 4:34 PM, hudson@hudsonlacerda.com wrote:
Hi.

A few things about ⎕plot:

1) GNU APL info manual says (2.31):
   ⎕PLOT ¯3      ⍝ close all plot windows    

However:
      ⎕plot 2 1 4 3
94820426042176
      ⎕plot ¯3
*** Could not find w_props 0xfffffffffffffffd in plot_stop() ***
0

[After that, further ⎕plot calls randomly display older plot data, if any.]
Fixed, SVN 1571.

2) Is there any way to reuse on the same plot window (instead of
storing/closing the handle and creating a new plot window every time)?
(Likewise the default "plot()" behaviour of GNU Octave.)
not really (and providing it would mean quite some rework). I believe that
the advantages would be quite minimal and under the hood it would probably
still do the same.

If you create the new window before closing the old one (i.e. in a
make-before-break fashion and with the same window attributes, then I
believe there will be no  noticeable difference to using the same window
multiple times.

3) Info manual (2.31.3) says that a plot can be closed "by opening the
drop down menu of the window (at the top left of the window)",
but that seems to be system-specific. Here, I can find a similar menu
but right-clicking the window-manager border at the top of the window.

Documentation fixed, SVN 1571.
Hudson



reply via email to

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