You could try something with the polygon plot type. Assuming you have two sets
of points, one for the top curve and one for the bottom curve, each in the
usual form (xcoords;ycoords):
'poly' plot bot (, |.)&.> top
might do something interesting.
There may be other options like for opacity etc.,
Thanks Linda,
I am not sure that is exactly what I am looking for, but thank you anyway. I
am interested
in showing the error estimates on a line graph, e.g. see the second answer
here:
https://stackoverflow.com/questions/12957582/matplotlib-plot-yerr-xerr-as-shaded-region-rather-than-error-ba
($~ _1+x+#)
nice one!
On 18/01/2018 16:08, Raul Miller wrote:
Ah, yes, I missed the bit about wrapping. I was in a hurry to get out
the door and glossed over that part.
Still, that's simple to add:
words=: ;: NB. might change this because punctuation handling
pc=: 4 :0
w=. x <@(;:inv)\
Thanks, I see.
Rob.
> On 18 Jan 2018, at 14:09, Raul Miller wrote:
>
> It's trying to tell you that you need a ':' in your adverb definition
> so that the resulting explicit code accepts an x argument.
>
> See also: http://www.jsoftware.com/help/dictionary/d310n.htm (or maybe
> the NuVoc para
Ah, yes, I missed the bit about wrapping. I was in a hurry to get out
the door and glossed over that part.
Still, that's simple to add:
words=: ;: NB. might change this because punctuation handling
pc=: 4 :0
w=. x <@(;:inv)\ ($~ _1+x+#) words y
n=. #/.~ w
o=. \: n
(<"0 o{n),:o{~.w
)
Not
Raul's explicit verb is more readable, than the following, but I think
he's
overlooked your requirement for word-wrapping.
As I understand that little extra, one only needs to wrap 1 fewer words
than the
group-size. I chose to wrap them at the end rather than at the front,
which your
exa
It's trying to tell you that you need a ':' in your adverb definition
so that the resulting explicit code accepts an x argument.
See also: http://www.jsoftware.com/help/dictionary/d310n.htm (or maybe
the NuVoc parallel...).
Try:
monad2dyad 1 :(':';'u x,y')
or
monad2dyad 1 :'u@,'
or
monad2dya
words=: ;: NB. might change this because punctuation handling
pc=: 4 :0
w=. x <@(;:inv)\ words y
n=. #/.~ w
o=. \: n
(<"0 o{n),:o{~.w
)
I hope this helps,
--
Raul
On Thu, Jan 18, 2018 at 3:23 AM, Skip Cave wrote:
> I'm working on some Natural Language Processing algorithms.
>
> I bui
Hi,
This adverb works fine
NB. Adverb.. Allows x u y to be expressed as u dyad2monad x y
dyad2monad =: 1 : '({.y) u }.y'
- dyad2monad 1 3 NB. Should give _2
_2
But this one fails...
NB. Adverb.. allows u x y to be expressed as x u monad2dyad y
monad2dyad =: 1 : 'u x, y'
1 -mona
More later...
Or: lwc2=: 13 :'(<"0 wc y),.~.;:y'
-Original Message-
From: Programming [mailto:programming-boun...@forums.jsoftware.com] On Behalf
Of Skip Cave
Sent: Thursday, January 18, 2018 3:24 AM
To: programm...@jsoftware.com
Subject: [Jprogramming] Word Count
I'm working on some N
I'm working on some Natural Language Processing algorithms.
I built
a
basic
set of
word count verbs:
NB. Test phrase
:
b =. 'the cat in the hat ate a hat and saw another cat in a hat in the hat'
NB. Word count
wc =.3 :'#/.~;:y'
NB. Labeled word count
lwc =
11 matches
Mail list logo