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

Reply via email to