How to label x and y in pyqt graph (legend) ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to label x and y in pyqt graph (legend) ?

How to label x and y in pyqt graph (legend) ? For example, to make x as time in millisecond and y as Force in 0.01 Newton?

29th Jan 2021, 8:06 AM
Zhenis Otarbay
Zhenis Otarbay - avatar
4 Answers
+ 1
https://stackoverflow.com/questions/16698074/pyqtgraph-add-legend-for-lines-in-a-plot c3 = plt.plot (y=4, pen='y', name="maximum value") Hope that helps.
29th Jan 2021, 1:22 PM
Fu Foy
Fu Foy - avatar
+ 2
Fu Foy this is my whatsapp, let's keep in touch
30th Jan 2021, 3:45 AM
Zhenis Otarbay
Zhenis Otarbay - avatar
+ 1
Fu Foy what if I wanna increase the bottom side of graph in pyqt?
29th Jan 2021, 1:26 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
+ 1
I'm afraid I have no idea! :)
29th Jan 2021, 9:12 PM
Fu Foy
Fu Foy - avatar