Creating lines from multiple points

Hi,
As you can see below i have a list of points taken from a rectangular grid.

image

I am able to create polylines which go in the X directions using the following script.

image

image

Any ideas on how to get the same results but in the Y direction instead like so:?
image
(i drew the lines with my mouse so they are not very acurate.

I am not very good at manipulating information in the form of lists. Lines from points.gh (5.5 KB) Thanks in advance!

Try to use Flip Matrix.

1 Like

That works, thanks!