I rarely use plot and never notice it can plot in this manner.  You can
search for the verb gtk_show and add the line glpaintx'' as shown below.

gtk_show=: 3 : 0
if. -.IFGTK do. gtkinit_jgtk_ '' end.
popen''
if. ifjwplot'' do.
  (PForm,'_',PId,'_paint')=: gtk_paint
end.

NB. ---------------------------------------------------------
if. PShow=0 do.
  if. VISIBLE do.
    gtk_widget_show_all_jgtk_ PFormhwnd
  else.
    gtk_widget_hide_all_jgtk_ PFormhwnd
  end.
  PShow=: 1
  gtk_window_set_keep_above_jgtk_ PFormhwnd,PTop
  gtk_paint''
else.
  gtk_paint''
end.
glpaintx''
if. (ifjwplot'') *. -.IFGTK do. gtk_main_jgtk_ '' end.
)

Птн, 25 Ноя 2011, Lippu Esa писал(а):
> Hi!
> 
> In J6 you could put different curves in the same plot in an animated fashion. 
> In J7 the plot is not shown until all curves are there i.e. no animation. Is 
> there a way to do this?
> 
> Esa
> 
> load 'plot'
> 
> pp=: 3 : 0
> inc=.%y
> npi=.o.inc*i:y
> pd 'reset'
> i=.0
> while. i<1 do.
> pd 1 o.npi+i
> pd 'show'
> i=.i+inc
> end.
> )
> 
> pp 20
> 
> NB. end of example
> ----------------------------------------------------------------------
> 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

Reply via email to