The create could be amended as create=: 3 : 0 wd DEMO wd 'pshow;' NB. <<<<<< grid=: ''conew'jzgrid' show__grid 'celldata hdrrow hdrcol' gplot=: conew 'jzplot' PForm__gplot=: 'demo' PFormhwnd__gplot=: 0". wd 'qhwndp' NB. <<<<<< PId__gplot=: 'gplot' )
The plot package need more work in order to work with gtkwd. The keyboard input focus for grid seems buggy too. I recommand you to set Debugwd_gtkwd_=: 1 to avoid infinite loop problem when error occurs inside paint event. Втр, 21 Фев 2012, Björn Helgason писал(а): > I took this example > > http://www.jsoftware.com/jwiki/Grid/Examples#griddemo5.ijs > > Changed > > create=: 3 : 0 > wd DEMO > wd 'pshow;' > > added > > require 'gui/gtkwd graphics/plot' > > It fails on > > demo_gplot_paint=: 3 : 0 > 'sbar' plot__gplot CELLDATA__grid > ) > > It will run like this > > demo_gplot_paint=: 3 : 0 > 'sbar' plot CELLDATA__grid > ) > > But the isigraphs are on top of each other and you can not change the grid > > If you do > > demo_gplot_paint=: 3 : 0 > 1 > ) > > You can change the grid but it looks a bit strange > > -- > Björn Helgason, Verkfræðingur > Fornustekkum II > 781 Hornafirði, > t-póst: gos...@gmail.com > gsm: +3546985532 > twitter: @flugfiskur > http://groups.google.com/group/J-Programming > > > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans > > góður kennari getur stigið á tær án þess að glansinn fari af skónum > /|_ .-----------------------------------. > ,' .\ / | Með léttri lund verður | > ,--' _,' | Dagurinn í dag | > / / | Enn betri en gærdagurinn | > ( -. | `-----------------------------------' > | ) | (\_ _/) > (`-. '--.) (='.'=) ♖♘♗♕♔♙ > `. )----' (")_(") ☃☠ > ---------------------------------------------------------------------- > 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