Wouldn't it make sense to simply change the xticks to reflect the time instead of the number of data points ?
Like, if we needed to display 0 t0 1000 points over a period of time, wouldn't it be nice to translate the xticks to reflect the period of time ? Would you suggest using IndexLocator in that sense ? -iyer > hence is there a good way > to > > "translate ticks" ? > > Yes, you can certainly do this, but what we are > suggesting is that it > makes more sense to simply scale your data before > plotting. Is there > a reason you don't want to do this > > ax.plot(ind*dt, y) > > The index locator > > JDH > ____________________________________________________________________________________ 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