It is not what I need..

http://matplotlib.sourceforge.net/matplotlib.axes.html

The plot method (plot(self, *args, **kwargs)) accepts
only x,y pairs, in ax.plot(ind*dt, y) -- the x
parameter is ind*dt - the sample times, but the data
between the sample points is lost. IMHO, the likely
way to prevent loss of sampled data points is changing
the ticks, isn't that possible to change the ticks,
while keeping the data as it is -- plotted as if it
were for a number of data points.

-iyer




--- John Hunter <[EMAIL PROTECTED]> wrote:

> On 4/10/07, John Hunter <[EMAIL PROTECTED]> wrote:
> > On 4/10/07, Iyer <[EMAIL PROTECTED]> wrote:
> > > I apologize if I haven't been sufficiently
> clear.
> > >
> > > While your suggestion picks out the samples from
> the
> > > sample set, and discards other samples - what I
> was
> > > looking at --
> 
> My suggestion does not "discard other samples", so
> you may not be
> understanding what I am saying.  Perhaps you can try
> the suggested
> code and see if it does what you want.  My example
> plots all the
> samples; it simply scales the xaxis to represent
> time and not sample
> number.
> 



       
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to