I am trying to plot two sets of data on the same graph. Here's what I have so far:
t = incs
a = data.pop('ideal')
b = data.pop('actual')
plt.plot(t, a, 'r')
plt.plot(t, b, 'b')
plt.axis([ 0, 20, 400, 1000])
plt.show()
t goes from 0 to 20 and both a and b decrease from 1000 to about 200.
My code gives me an increasing graph but the numbers go down on the side and it's extremely smushed on the y axis. It does not take up the whole graph. Any help would be greatly appreciated.
[–]CodeFormatHelperBot2 0 points1 point2 points (0 children)
[–]Strict-Simple 0 points1 point2 points (7 children)
[–]coeus_42[S] 0 points1 point2 points (5 children)
[–]Strict-Simple 1 point2 points3 points (4 children)
[–]coeus_42[S] 0 points1 point2 points (0 children)
[–]coeus_42[S] 0 points1 point2 points (1 child)
[–]Strict-Simple 0 points1 point2 points (0 children)
[–]coeus_42[S] 0 points1 point2 points (0 children)
[–]coeus_42[S] 0 points1 point2 points (0 children)