[Jprogramming] penstyle bug in plot

N. Drinkwater ndrinkwater at tds.net
Wed Jun 6 07:55:17 HKT 2007


There is a bug when using a penstyle other than 0 for single data sets 
in plot

    a=. i.5
    'type line' plot a;a
    'type line; penstyle 0' plot a;a
    'type line; penstyle 1' plot a;a

The first two plot commands work fine, but the third crashes J and gives 
repeated lines of "unsupported: -2000" in the ijx window. Interestingly, 
doubling up on a line will avoid the problem:

    'penstyle 1' plot a

will crash, but

    'penstyle 1' plot 2 5$a

gives the desired dashed line.

Norman Drinkwater



More information about the Programming mailing list