''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

Reply via email to