m******t 发帖数: 273 | 1 【 以下文字转载自 Statistics 讨论区 】
发信人: myregmit (myregmit), 信区: Statistics
标 题: how to normalize axis in python
发信站: BBS 未名空间站 (Fri Mar 14 16:23:49 2014, 美东)
I am working in python 3.2 and matplotlib.
I need to plot y and x.
The numbers of x-axis are between 0 and 1000000.
In my plot, the numbers of x-axis are long and overlap each other.
I want to re-scale and normalize them between 0 and 10 and also show the
unit (such as 10^6) around the x-axis only once.
Eexample,
0, 1, 2, 3, ..., 10 (10x6)
How can I do that?
Any help would be appreciated. | n****e 发帖数: 629 | |
|