This always creates x axis at the top whereas i want x axis in bottom and correspondingly both y axis at same scale. May anyone look at this code and suggest what is wrong here?
I tried your code and indeed the x axis is at the top no matter the configuration used. However I’ve tried to increase the size of the canvas because it was too small and configuring with any size even smaller (10x10) makes the axis go to the bottom
So for now I would suggest increasing the value of the canvas by using