Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9
You can use matplotlib 🙌 But for that you will require x-coordinates and y-coordinates of all the points that will be i and j respectively!
7th Sep 2020, 2:58 PM
Namit Jain
Namit Jain - avatar
7th Sep 2020, 3:13 PM
Abhay
Abhay - avatar
+ 4
♤♢☞ 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 ☜♢♤ If the origin lies on [10,10] So, for a point [x,y] => in your code x = j and y = i If x > 10 and y < 10: VI Quadrant If x < 10 and y > 10: III Quadrant If x < 10 and y < 10: II Quadrant If x > 10 and y < 10: I Quadrant
7th Sep 2020, 4:11 PM
Namit Jain
Namit Jain - avatar
+ 4
Modified the code ,works fine now
7th Sep 2020, 4:17 PM
Abhay
Abhay - avatar
7th Sep 2020, 4:21 PM
Namit Jain
Namit Jain - avatar
- 3
P po
9th Sep 2020, 4:40 AM
Veda
Veda - avatar