Demo entry 2841809

pylab minor ticks

   

Submitted by anonymous on Oct 09, 2015 at 10:47
Language: Python. Code size: 188 Bytes.

from pylab import *

fig = figure(facecolor='w')
ax = subplot(111)
ax.plot(arange(100)**2)
ax.xaxis.grid(True, which='minor')
# ax.xaxis.set_minor_locator(MultipleLocator(5))
draw()

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).