On Sun, Aug 12, 2012 at 01:23:35PM -0700, jonasr wrote: > Hello, > > i am working on some 3d stuff with plot_surface() , my problem is that i > want to use a stride smaller then 1.
The stride refers to the *array* stride. So a stride of < 1 makes no sense. > Since my data is only on an intervall from -1 to 1, in x and in y direction > i want to plot a 3d grid with at least 20 lines in each direction, is there > a possibility to do this ? An rstride of 1 will plot every row. A cstride of 3 will plot every 3rd column. If your data is in a 2D array of dimensions 100x100, say, then setting rstride=5 and cstride=5 will plot every 5th row and every 5th column, giving 20 lines in each direction. The kwargs rstride and cstride do not care about the domain of your data. Hope this helps. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users