Dear All,
                 I want to make minor ticks working in following program.
Here only major ticks are dis[played in grpah though i have declared the
minor ticks
minorticks_on() doesnt work in my code. How to fix that.Please help me
out.Thanks in advance !!!!!!!!!!!!'
Regards
Yogesh

from numpy import *
from scipy import *
from scipy import signal, misc
import sys,time,os,gc
import matplotlib
import matplotlib.pyplot as plt
from numpy.random import *
from pylab import plot, show, ylim, yticks,xlim
from pylab import *
x=loadtxt('/home/jaguar/Desktop/45.txt')
x=x[0:1399]
y=arange(len(x))
plt.figure(2)
plt.plot(y,x,'k-')
#minorticks_on()
grid(True)#, color="r", ls="-")
gca().xaxis.grid(True, which="minor", color="r")
#gca().yaxis.grid(True, which='minor')
#grid(True, which="minor", color="r")

show()#l
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to