Re: [Matplotlib-users] axes3d, initial azimuth and elevation

2012-07-14 Thread gsal
got it, thanks. -- View this message in context: http://old.nabble.com/axes3d%2C-initial-azimuth-and-elevation-tp34161970p34162843.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- Live Secur

Re: [Matplotlib-users] axes3d, initial azimuth and elevation

2012-07-14 Thread Benjamin Root
On Saturday, July 14, 2012, gsal wrote: > > So, I have > > [code] > > from mpl_toolkits.mplot3d import axes3d > fig = plt.figure(figsize=(10,7)) > ax = fig.gca(projection='3d') > ax.scatter(xs, ys, zs, c='r') > plt.show() > > [/code] > > but when the figure first comes up, it is not to my liking;

Re: [Matplotlib-users] histogram withx axis dates

2012-07-14 Thread William R. Wing (Bill Wing)
On Jul 14, 2012, at 8:57 AM, Mark Lawrence wrote: > On 14/07/2012 13:41, William R. Wing (Bill Wing) wrote: >> On Jul 14, 2012, at 7:49 AM, Mark Lawrence wrote: >> >>> Sorry if I've missed this in the docs but is it possible to directly >>> plot a histogram with a date x axis or do I have to roll

Re: [Matplotlib-users] path effects question

2012-07-14 Thread Damon McDougall
On Sat, Jul 14, 2012 at 04:09:48PM -0400, Benjamin Root wrote: > On Saturday, July 14, 2012, John Hunter wrote: > > > > > > > On Sat, Jul 14, 2012 at 11:48 AM, John Hunter > > > > > wrote: > > > >> I do not understand why in the following example, if I set > >> patch_alpha=1.0, I do not see the

[Matplotlib-users] axes3d, initial azimuth and elevation

2012-07-14 Thread gsal
So, I have [code] from mpl_toolkits.mplot3d import axes3d fig = plt.figure(figsize=(10,7)) ax = fig.gca(projection='3d') ax.scatter(xs, ys, zs, c='r') plt.show() [/code] but when the figure first comes up, it is not to my liking; when I interactively (with the mouse) move it around to my likin

Re: [Matplotlib-users] path effects question

2012-07-14 Thread Benjamin Root
On Saturday, July 14, 2012, John Hunter wrote: > > > On Sat, Jul 14, 2012 at 11:48 AM, John Hunter > > > wrote: > >> I do not understand why in the following example, if I set >> patch_alpha=1.0, I do not see the shadow effect. I would expect to see it >> for the the rightmost four bars, where

Re: [Matplotlib-users] path effects question

2012-07-14 Thread John Hunter
On Sat, Jul 14, 2012 at 11:48 AM, John Hunter wrote: > I do not understand why in the following example, if I set > patch_alpha=1.0, I do not see the shadow effect. I would expect to see it > for the the rightmost four bars, where the original bars do not entirely > occlude the shadow, so even i

[Matplotlib-users] path effects question

2012-07-14 Thread John Hunter
I do not understand why in the following example, if I set patch_alpha=1.0, I do not see the shadow effect. I would expect to see it for the the rightmost four bars, where the original bars do not entirely occlude the shadow, so even if alpha is 1.0, there are parts of the shadow that are not behi

Re: [Matplotlib-users] basemap-1.0.4 UTM support

2012-07-14 Thread Jeff Whitaker
On 7/14/12 8:27 AM, Stefan Mertl wrote: > What's the reason for the reduction to 0/0? I'm going to create some > interactive maps. For this it would be easier to have the original > projected coordinates as the coordinates of the map axes. > Would it be possible to add a flag to decide if the coord

Re: [Matplotlib-users] basemap-1.0.4 UTM support

2012-07-14 Thread Stefan Mertl
What's the reason for the reduction to 0/0? I'm going to create some interactive maps. For this it would be easier to have the original projected coordinates as the coordinates of the map axes. Would it be possible to add a flag to decide if the coordinates should be reduced or not? Regards,

Re: [Matplotlib-users] histogram withx axis dates

2012-07-14 Thread Damon McDougall
On Sat, Jul 14, 2012 at 01:57:13PM +0100, Mark Lawrence wrote: > On 14/07/2012 13:41, William R. Wing (Bill Wing) wrote: > > On Jul 14, 2012, at 7:49 AM, Mark Lawrence wrote: > > > >> Sorry if I've missed this in the docs but is it possible to directly > >> plot a histogram with a date x axis or do

Re: [Matplotlib-users] histogram withx axis dates

2012-07-14 Thread Mark Lawrence
On 14/07/2012 13:41, William R. Wing (Bill Wing) wrote: > On Jul 14, 2012, at 7:49 AM, Mark Lawrence wrote: > >> Sorry if I've missed this in the docs but is it possible to directly >> plot a histogram with a date x axis or do I have to roll my own? This >> is critical as I'm on a diet and trying

Re: [Matplotlib-users] histogram withx axis dates

2012-07-14 Thread William R. Wing (Bill Wing)
On Jul 14, 2012, at 7:49 AM, Mark Lawrence wrote: > Sorry if I've missed this in the docs but is it possible to directly > plot a histogram with a date x axis or do I have to roll my own? This > is critical as I'm on a diet and trying to plot my weight loss against > date :) > > -- > Cheers.

Re: [Matplotlib-users] histogram withx axis dates

2012-07-14 Thread Mark Lawrence
On 14/07/2012 13:05, Damon McDougall wrote: > On Sat, Jul 14, 2012 at 12:49:29PM +0100, Mark Lawrence wrote: >> Sorry if I've missed this in the docs but is it possible to directly >> plot a histogram with a date x axis or do I have to roll my own? This > > I'm assuming you have weight data AND da

Re: [Matplotlib-users] histogram withx axis dates

2012-07-14 Thread Damon McDougall
On Sat, Jul 14, 2012 at 12:49:29PM +0100, Mark Lawrence wrote: > Sorry if I've missed this in the docs but is it possible to directly > plot a histogram with a date x axis or do I have to roll my own? This I'm assuming you have weight data AND date data. That is, a list of dates and associated

[Matplotlib-users] histogram withx axis dates

2012-07-14 Thread Mark Lawrence
Sorry if I've missed this in the docs but is it possible to directly plot a histogram with a date x axis or do I have to roll my own? This is critical as I'm on a diet and trying to plot my weight loss against date :) -- Cheers. Mark Lawrence. -

Re: [Matplotlib-users] wxpython matplotlib figure resize

2012-07-14 Thread Keith Jones
Hi Josh, I am not quite sure what information you need, but I have an application with several wx notebooks, each with pages carrying related but different 2D and 3D plots. I hope this overview covers what you want. In the code below I set up the axes and toolbar in each panel ready to accept