I have an array A of boxes, shape (N,2).

Each row of A is 2 boxes.  The first box is x coordinates, the second is y coordinates.

I want to plot the points in a point plot, with each row's points having a different color.  The ROWS do not have the same numbers of points.

I want to avoid a loop that would require me to specify the color of each point set.

  Example:

+-------+-------+
|0 1 2  |3 4 5  |  (0,3), (1,4),(2,5)  in (say) blue
+-------+-------+
|0 1 2 3|4 5 6 7|  (0,4),(1,5),(2,6),(3,7)  in (say) red
+-------+-------+

Can I do this?

Henry Rich




--
This email has been checked for viruses by AVG.
https://www.avg.com

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

Reply via email to