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

Reply via email to