Thanks. The triangle is back! Linda
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Eric Iverson Sent: Thursday, August 16, 2012 6:56 PM To: [email protected] Subject: Re: [Jprogramming] Magically Make a Plot Disappear I will change it. Thanks. On Thu, Aug 16, 2012 at 6:22 PM, bill lam <[email protected]> wrote: > A grep shows canvasnum is not defined or used in plot package, it > comes from the ide/jhs/core.ijs file. Which locale would you like to > use, or you prefer to change it yourself? > > Чтв, 16 Авг 2012, Eric Iverson писал(а): >> 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 > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > 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
