Yes, here is a basic(ish) example: pd 'reset' pd 'type point' pd 'itemcolor red,orange,yellow,green,blue' pd 'pensize 5' dat=: 50?50 datgrp=: <.@(%&10) dat NB. calc groups for dat pd@> ;/@|: &.> (~.datgrp)/:~(datgrp </. ] ,.~ i.@#) dat pd 'show'
On Sat, Apr 21, 2012 at 12:36 AM, Andrew Nikitin <ns...@hotmail.com> wrote: > >> How can I >> increase the information by colouring the dots according to a colour band >> indexed by a variable z? > > Plot will not do this for you. You will have to group your data by z variable > (possibly using /. adverb) and plot each group with appropriate color. > Same thing applies if you want to use different marker type or size. > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm