Esa has already shown an example of how to create independent plots. The following wiki page also shows an example of displaying multiple independent plot windows as well as multiple plots on a form. http://code.jsoftware.com/wiki/Plot/Class
On Fri, Jul 14, 2017 at 9:41 PM, bill lam <[email protected]> wrote: > plot will reuse jwplot window, this > is intended, but I am not sure if this is > different from j602 behavior, > > load'plot' > plot i.10 > plot 1 o. i.10 NB. reuse jwplot window > wd'qpx' NB. show form locale > > Пт, 14 июл 2017, Raul Miller написал(а): > > This is a good question. > > > > Based on http://code.jsoftware.com/wiki/Plot/Commands > > http://code.jsoftware.com/wiki/Guides/Window_Driver/Window_Controls > > and http://code.jsoftware.com/wiki/Guides/Window_Driver/ > Command_Reference > > > > I would expect that I could create a window, perhaps like this: > > > > a_close=: 3 : 'wd''pclose''' > > wd 'pc a;pas 200 100; pshow' > > > > and then instruct plot to use it like this: > > > > pd 'reset a' > > > > But that does not work. > > > > I would also expect that replacing the pd 'show' with something like > > pd 'qt 100 400' that in a J8 jqt session my plot would be displayed in > > a newly created window with dimensions 100 wide, 400 high. But that > > does not work either. > > > > So maybe this got broken somewhere and no one has noticed yet? > > > > Thanks, > > > > -- > > Raul > > > > > > On Fri, Jul 14, 2017 at 3:18 AM, Rudolf Sykora <[email protected]> > wrote: > > > Hello, > > > > > > I'd like to plot two graphs with plot in two different windows. > > > I expected this to do the work: > > > > > > load 'plot numeric' > > > pd 'reset' > > > pd steps _1 1 10 > > > pd 'new' > > > pd steps 4 12 10 > > > pd 'show' > > > > > > However, it just shows the second plot... > > > Can anybody help? > > > > > > 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 > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > gpg --keyserver subkeys.pgp.net --armor --export 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
