Sorry for being unprecise. You load the plot package by:

   load'plot'




>________________________________
> Fra: Randy MacDonald <ram...@nbnet.nb.ca>
>Til: Programming forum <programming@jsoftware.com> 
>Sendt: 21:04 mandag den 23. januar 2012
>Emne: Re: [Jprogramming] waves
> 
>Folks,
>
>This may have a simple yet obscure answer: what is the provenance of 
>'plot'?  Using the Package Manager in JGTK, I installed 'demos/plot' yet 
>could not make it work,  it not being obvious where J installed to. 
>Perhaps there is a Lab...
>
>On 1/21/2012 6:51 AM, Bo Jacoby wrote:
>> Hello J-ers.
>> Consider this
>>     wave=: 3 : 0
>>     ('N';'D';'L';'S')=.y
>>     A=.,(i.N)j./-i.D
>>     k=.(0j_2p1%L)&*
>>     c=.S&*&^&+
>>     (+ c&.k)A
>>     )
>>
>>     'dot; pensize 4' plot wave 65 29 32 _0.5
>>
>> Maximize the plot window to get the proportions right.
>> This shows the power of J, arrays, and the complex number exponential 
>> function.
>> Do anyone know how to animate this such that the waves are rolling?
>>
>> -Bo
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
>
>-- 
>---------------------------------------------------------------------------
>|\/| Randy A MacDonald       | If the string is too tight, it will snap
>|\\| array...@ns.sympatico.ca|   If it is too loose, it won't play...
>      BSc(Math) UNBF '83      | APL: If you can say it, it's done.
>      Natural Born APL'er     | I use Real J
>      Experimental webserver http://mormac.homeftp.net/
>------------------------------------------------<-NTP>----{ gnat }-
>
>----------------------------------------------------------------------
>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