On Tue, Dec 11, 2012 at 1:16 PM, Benjamin Root <ben.r...@ou.edu> wrote:
>
>
> On Tue, Dec 11, 2012 at 2:08 PM, Chloe Lewis <chle...@berkeley.edu> wrote:
>>
>> Would it be workable for the default to be proportional to the size of the
>> array passed in? (suggested only because I do that myself, when deciding how
>> coarse an investigative plot I can get away with.)
>>
>> &C
>>
>
> That is pretty much what the PR I was referring to does:
>
> https://github.com/matplotlib/matplotlib/pull/1040
>
> It makes it so that the behavior of both plot_surface and plot_wireframe is
> the same in this respect.  So, by default, the rstride and cstride would be
> 1% of the size of your data array.  This would make the default for the
> recent example be 1, therefore showing every point.  I wonder if a
> logarithmic default would make sense to better handle large data arrays?
>
> Thoughts?
> Ben Root

I hope nobody minds if I chime in here.

I'm in favour of making the defaults a little more intelligent that
what is implemented at present, i.e, a constant stride for any
surface. Any non-trivial scaling law to determine what stride to use
will result in more expected behaviour than what our users are
currently seeing.

Could we do better? Could we have plot_surface try and estimate the
stride based on the 'roughness' of the surface to be plotted? This
method would grind to a halt for very rough surfaces, so we could
default to a scaling law in these cases.

What does everyone think about this approach?

-- 
Damon McDougall
http://www.damon-is-a-geek.com
Institute for Computational Engineering Sciences
201 E. 24th St.
Stop C0200
The University of Texas at Austin
Austin, TX 78712-1229

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to