Python: How to plot an array of y values for one x value in python
You can simply repeat the X values which are common for y values
Suppose
[x,x,x,x],[y1,y2,y3,y4]
I am trying to plot an array of temperatures for different location during one day in python and want it to be graphed in the format (time, temperature_array). I am using matplotlib and currently only know how to graph 1 y value for an x value.
The temperature code looks like this:
Temperatures = [[Temp_array0] [Temp_array1] [Temp_array2]...], where each numbered array corresponds to that time and the temperature values in the array are at different latitudes and longitudes.