[Jprogramming] Challenge 8 A Shamrock for St. Patrick
Raul Miller
rauldmiller at gmail.com
Thu Mar 22 22:06:20 HKT 2012
He probably expected you to follow the "Types" link to the page where
radar is mentioned:
http://www.jsoftware.com/jwiki/Plot/Types
Basically, plot gives you a variety of ways of of plotting the data.
Hopefully the names are descriptive. I do not think anyone has taken
the time to write documentation characterizing the notable details of
these options.
--
Raul
On Thu, Mar 22, 2012 at 10:00 AM, Linda Alvord <lindaalvord at verizon.net> wrote:
> Chris, The wiki page didn't solve the mystery of 'radar'
> Load 'plot'
> T=:2p1
> d=: 13 :'(0{x)-(-/x)*(i.y)%<:y' NB. domain intervals
> tf=:1 o. 3*y
> plot 1 o. tf
> 'radar' plot tf
>
> The lines above follow the suggestion of Henry Rich and work like a charm,
> but how does 'radar' do its magic?
>
> When I tried the suggestions in the wiki page, here's what happened.
> Load 'jzplot'
> c=: conew 'jzplot'
> plot__c tf
> plot__c 'radar' tf
> |option not found: radar: signal
> | signal'option not found: ',j
>
> The polar graph of the trifolium fails.
>
> Linda
>
>
>
> -----Original Message-----
> From: programming-bounces at jsoftware.com
> [mailto:programming-bounces at jsoftware.com] On Behalf Of chris burke
> Sent: Wednesday, March 21, 2012 8:45 PM
> To: Programming forum
> Subject: Re: [Jprogramming] Challenge 8 A Shamrock for St. Patrick
>
> See: http://www.jsoftware.com/jwiki/Plot/Class
>
> On Thu, Mar 22, 2012 at 7:49 AM, Linda Alvord
> <lindaalvord at verizon.net>wrote:
>
>> Copy the expression below into ijix and run display. A lovely graph
>> of a trifolium appears. It seems that it is arriving by mental telepathy.
>> There
>> is no sign of 'radar' anyhere. Use load 'plot' and there is no
>> sign of 'radar'. It is not in names_j_ or names_z_ . So where and
> what is it?
>>
>> -----Original Message-----
>> From: programming-bounces at jsoftware.com
>> [mailto:programming-bounces at jsoftware.com] On Behalf Of Henry Rich
>> Sent: Wednesday, March 21, 2012 7:29 AM
>> To: Programming forum
>> Subject: Re: [Jprogramming] Challenge 8 A Shamrock for St. Patrick
>>
>> Cute! J version:
>>
>> 'radar' plot 0 2p1;'1 + (cos 3*y) + *: sin 3*y'
>>
>> Henry Rich
>>
>> On 3/21/2012 5:55 AM, Boyko Bantchev wrote:
>> > FWIW, the cleanest mathematical / programmable trefoil that I know
>> > of is the following (I am too lazy to do it in J, so Gnuplot):
>> >
>> > set size ratio 1.08
>> > set parametric
>> > set polar
>> > plot [0:2*pi] t,1+cos(3*t)+sin(3*t)**2
>> > --------------------------------------------------------------------
>> > -- 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
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list