jwplot is a helper class that also provides window and isigraph for GUI outputs. I think w in jwplot stands for window. jzplot is the low level base class, one can design his own form and pass the handle of isigraph to jzplot for rendering output.
Sent from my iPhone On 15 Jul, 2017, at 12:16 AM, Lippu Esa <[email protected]> wrote: > Thank you Raul for the explanation of the '' on the left hand side. > > I don't know why I used jwplot - actually my own plotting class is derived > from jzplot. > > However, in the beginning of addons/graphics/plot/plot.ijs there are these > lines: > > require 'jzplot' > coclass 'jwplot' > coinsert 'jzplot' > > so jwplot is derived from jzplot. I must confess I haven't studied this > further. > > Esa > -----Original Message----- > From: Programming [mailto:[email protected]] On Behalf > Of Raul Miller > Sent: Friday, July 14, 2017 6:58 PM > To: Programming forum <[email protected]> > Subject: Re: [Jprogramming] plot with two windows? > > ''conew'jwplot' runs create_jwplot_ (the constructor) in the newly > created object (in other words, it does a reset for you). > > FYI, > > -- > Raul > > > On Fri, Jul 14, 2017 at 11:03 AM, Rudolf Sykora <[email protected]> > wrote: >> On 14 July 2017 at 09:46, Lippu Esa <[email protected]> wrote: >>> load 'plot numeric' >>> p1=.''conew'jwplot' >>> pd__p1 steps _1 1 10 >>> pd__p1'title plot 1;show' >>> p2=.''conew'jwplot' >>> pd__p2 steps 4 12 10 >>> pd__p2'title plot 2;show' >>> >>> NB. cleanup later >>> destroy__p1 '' >>> destroy__p2 '' >> >> Thanks, this seems to work. >> Just, here you write 'jwplot', on the wiki there is 'jzplot'. What's >> the difference? >> >> Further, the wiki has: >> >> a=: conew 'jzplot' >> >> while you add the extra '' in front of conew >> >> p1 =: '' conew 'jwplot' >> >> Can you tell me why? >> >>> BTW, multiplot is also cool. >> >> I still do not understand the main difference between a multiplot >> and a plot with subplots... (especially if the graphs do not share any axis). >> >> Thanks >> Ruda >> ---------------------------------------------------------------------- >> 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
