What problem does this feature solve?
When drawing the function image, the set scale is always calculated from the leftmost end of the horizontal axis or the bottom of the vertical axis(like the graph as follows), we want the scale to start from 0 to both ends. As shown in the following figure, how to achieve the scale interval is still 6, but display the results of the scale is -18,-12,-6,0,6,12,18?
What does the proposed API look like?
When drawing the function image, the set scale is always calculated from the leftmost end of the horizontal axis or the bottom of the vertical axis(like the graph as follows), we want the scale to start from 0 to both ends. As shown in the following figure, how to achieve the scale interval is still 6, but display the results of the scale is -18,-12,-6,0,6,12,18?
2条答案
按热度按时间axr492tv1#
If the interval is 6, then it should be
6, 0, -6
. How should it decide to be4, -2
?b5lpy0ml2#
If the interval is 6, then it should be
6, 0, -6
. How should it decide to be4, -2
?Then I want to know how to solve the bug?