How to change the range of the x-axis and y-axis in matlibplot?

前端 未结 2 1494
礼貌的吻别
礼貌的吻别 2020-12-16 15:57

I am new to matlibplot and I\'m trying to draw a circle with radius 1 but have both my x and y axis go from 0 to 3 with an increment of 0.25. Right now, I have drawn the gra

2条回答
  •  一整个雨季
    2020-12-16 16:36

    Use first xticks and yticks before xlim and ylim. This will create an array before it sets the limit

提交回复
热议问题