Very nice, Brian, thank you. Kip
On 9/5/2011 8:24 AM, Brian Schott wrote:
> Kip,
>
> There is good news and bad news on that server because the stats addon
> seems not to have been loaded and plot does not seem to be a required
> load. So instead all you need is this.
>
> steps=:{. + (1&{ - {.) * (i.@>: % ])@{:
> plot (] ; 1 - *:) steps _1 1 20
>
> On Mon, Sep 5, 2011 at 8:42 AM, Kip Murray<[email protected]> wrote:
>> Thank you, Ric. Here is the response from Jsoftware's J Http Server:
>>
>> load 'stats plot'
>> not found: /home/jhs/j701/addons/stats/base/base.ijs
>> |file name error: script
>> | 0!:0 y[4!:55<'y'
>>
>> JVERSION
>> Engine: j701/2011-01-10/11:25
>> Library: 7.01.040
>> Platform: Linux 32
>> Installer: j701abeta_linux32.sh
>> InstallPath: /home/jhs/j701
>>
>>
>> On 9/4/2011 11:33 PM, Ric Sherlock wrote:
>>> If you want to know how to plot "a function" as below then AFAIK the
>>> short answer is that is not yet supported.
>>>
>>> If you just want a plot of that function in JHS then this should do it:
>>>
>>> load 'stats plot'
>>> plot (] ; 1 - *:) steps _1 1 20
>>>
>>> On Mon, Sep 5, 2011 at 3:40 PM, Kip Murray<[email protected]> wrote:
>>>> How would you accomplish J 6.02's
>>>>
>>>> load 'plot'
>>>>
>>>> plot _1 1;'1 - *:'
>>>>
>>>> in the J Http Server?
>>>>
>>>> The desired plot is a parabola roughly like
>>>> _
>>>> / \
>>>> _1 1
>>>>
>>>> and includes correct labeling of the horizontal and vertical axes.
>>>> ----------------------------------------------------------------------
>>>> 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