Alfonso Salazar wrote:
> In J504b I can do it in the next form:
>  
> plot/ a,:b
>  
> Why I can't do with J602a?

plot is a cover for pd, and is intended to take options as left argument
and data as right argument, converting them into pd calls. Quite
unintentionally, if you gave data in both left and right arguments, plot
in J504b just gave both arguments to pd. This explains why plot/a,:b
worked (since this is just a plot b).

This stopped working in J6, because a utility used in plot was not
converted properly for the change in explicit arguments (from y. to y).
This is fixed now, so plot/a,:b works again.

A slightly better way to show two lines is to have y as a two row
matrix, e.g.

   x=. i.10
   y=. 0 5 +/ *:x
   plot x;y

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to