The bug is that canvasnum is in base and it shouldn't be. It should be in one of the plot locales so it is protected. This may be enough info for Bill to make the fix.
On Thu, Aug 16, 2012 at 4:29 PM, Ric Sherlock <[email protected]> wrote: > I can confirm this issue. (64bit JHS, Win7, Firefox) > The problem seems to be that erase names'' deletes the noun canvasnum. > I imagine this is used to identify the canvas object the graphic is > drawn on. Without this noun none of the plots show up. I haven't > looked hard enough to see where this noun gets defined, but it seems > to be created the first time a plot is drawn. However if it is > subsequently erased it isn't recreated when plot is run a second time. > > On Fri, Aug 17, 2012 at 3:16 AM, Linda Alvord <[email protected]> wrote: >> J7 in Chrome >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Linda Alvord >> Sent: Thursday, August 16, 2012 11:11 AM >> To: [email protected] >> Subject: [Jprogramming] Magically Make a Plot Disappear >> >> Put the script in jijs and and save it with a name: >> >> >> >> load 'plot' >> >> PP=:1 5 4 1;2 3 6 2 >> >> 'aspect 1;type poly;color red' plot PP >> >> >> >> Run the file in jijx to see the triangle, then enter: >> >> >> >> erase names '' >> >> >> >> Locate the file you save and run it again and the red triangle is gone! >> >> >> >> Should that happen? >> >> >> >> Linda >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
