Not sure if I understand, but I think this is what you want to do: y = rand(1000) # your 1000 random points x = linspace(0, 250, y.size) plot(x,y)
/A Iyer wrote: > I think this is a trivial question.. > > If there are a set of data points being plotted in a > subplot, say 0 to 1000 points; the subplot displays > the ticks as 0 to 1000 points and it is desired to > "translate" those points to 0 t0 250 points on the > subplot display - with point 0 mapping to point 0, > point 250 mapping to point 2 and so on, what could be > the best way to do this ? > > Just curious, > thanks, > iyer > > > > > > > > ____________________________________________________________________________________ > Never miss an email again! > Yahoo! Toolbar alerts you the instant new Mail arrives. > http://tools.search.yahoo.com/toolbar/features/mail/ > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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