Re: [matplotlib-devel] plot_surface patch

2010-12-21 Thread Benjamin Root
On Wed, Dec 15, 2010 at 4:47 PM, Justin Peel  wrote:

> I decided to revisit this briefly and found another pretty easy change
> that gives a fairly significant speed boost for a large number of
> points. Basically, I just used two list comprehensions instead of
> looping.
>
>

Justin,

I finally had a chance to test this out and it does seem to give a slight
speedup.  It also does make for some cleaner code as well, which is always a
plus!  I still think the main clog, though, is the double for-loops that the
code is contained in.  I will probably take a closer look at it in January
to see if there is a different way to accomplish the same thing.

Ben Root
--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Displaying offsets in 3d plots

2010-12-21 Thread Benjamin Root
On Thu, Dec 16, 2010 at 11:13 AM, Benjamin Root  wrote:

> I have been working on a new feature for mplot3d.  It is a bit of a hack
> but with this patch the offset information in a tick formatter can now be
> displayed.  The offset text is located so that the offset texts for two
> jointed axis are not co-located, and is placed at the same distance away
> from the axis as the axis label.  The text is aligned so that it should
> always be "tucked" underneath the axis as one rotates the plot.  There are a
> few edge cases as one rotates where an offset text will "stick out", but
> they should be very infrequent.
>
> I have attached a patch to enable this feature and also an example script
> that showcases it.
>
> This is how it should look:
> http://dl.dropbox.com/u/7325604/mplot3d_offsettest.png
>
> Let me know what you think, and if all is good, I will add it to the
> development branch soon.
>
> Ben Root
>

Since there haven't been any objections, I will commit this to the
development branch today.

Ben Root
--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel