I am a student using matplotlib for research, and I am trying to plot some data points for two variables alongside the ratio (z) of x/y or the previous two variables.
I am a bit new to this, but where would I insert my points?
Right now I have inserted my x and y values for 3 points in the two lines of code shown below but I get an error whenever I list more than 3 values which makes me think this is for the array and is not where I am supposed to insert my points for x and y. Thank you for the help.
xlist = np.linspace( 570, 100, 10, 100)
ylist = np.linspace( 800, 1000, 1000, 100)
The actual function does this "Return evenly spaced numbers over a specified interval". in particular, the first 2 parameters are the
startand thestopand the third parameter isthe number of samples to generate.So the linespace function looks like this:
So you can see that the inputs are the arguments and the description of what they do.
I got this from the
linspacedefinition...