I want to be able to store the x and y coordinates under one variable name, which then I would like to be able to say plot(variable), and it display the x-y coordinate.
For example, if
I would like B to equal (x,y).
Then when I plot(B), it would plot the x and y coordinate.
Is there a consice way to plot this?
The solution I currently have is:
figure; plot(x, y)
However, this is not ideal as I have a lot of data points and would like to call them up quickly. Is there a way to store them in a variable and then call them up?