Menu

[r8989]: / trunk / htdocs / tut / silly_axes.py  Maximize  Restore  History

Download this file

14 lines (10 with data), 231 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
from pylab import *
t = arange(0, 2.1, 0.1)
rc('grid', color='0.75', linewidth=1.5)
rc('xtick', color='b', labelsize=14)
a = subplot(111)
plot(t, t**2, '-')
title('Custom axes using rc')
grid(True)
savefig('custom_axes')
show()
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.