So i was just wondering if i had a x value that consisted of 2 columns of numbers such as

x=

` 1 2 1 2 1 2 1 2`

is there any way that i can split this x into two values so that i can plot the 1's on one graph and the 2's on another? This is a simplified version of what i am trying to do in my attached picture.

## Best Answer