invert_axes.py
来自「非原创。很好的python例子」· Python 代码 · 共 22 行
PY
22 行
#!/usr/bin/env python"""You can use decreasing axes by flipping the normal order of the axislimits"""from pylab import *t = arange(0.01, 5.0, 0.01)s = exp(-t)plot(t, s)xlim(5,0) # decreasing timexlabel('decreasing time (s)')ylabel('voltage (mV)')title('Should be growing...')grid(True)show()
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?