0

Right now my code looks like this:

for i in range(len(frames)):
label = labels[i]
frame = frames[i]
plt.plot( 1/frame['Temperature(K)'], frame['Resistivity'], label=label)
plt.title('Inverse Temperature vs. Resistivity' +' '+ str( label))
plt.xlabel('Inverse Temperature') 
plt.ylabel('Resistivity')
plt.legend()
plt.show()

This results in 15 separate plots. How do I adjust this for loop to get these plots into a 5 row 3 column subplot structure?

2
  • Doe, please check this: Hope it helps! link Commented Apr 29, 2020 at 4:16
  • Thank you so much Priya! Commented Apr 29, 2020 at 22:18

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.