This makes sense - it's the way I usually do things.  I noticed the anomaly
only because I copied Gosi's code as he wrote it.  Is this documented
somewhere?

On 1/15/08, Chris Burke <[EMAIL PROTECTED]> wrote:
>
> Devon McCormick wrote:
> > Also, playing with this I noticed a bug in "pd": if you specify the data
> > first, as you do in your example, the option "pensize" with type "point"
> has
> > no effect.  However, changing the order of the statements so that the
> data
> > is specified last, just before "show", allows "pensize" to have an
> effect.
>
> It is intended that plot options be given before the data, so that a
> data argument to pd fixes the options for that data. This allows options
> to be redefined for new data, e.g.
>
> pd 'reset'
> pd 'color red'
> pd 1 2 3
> pd 'color blue'
> pd 2 3 5
> pd 'show'
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to