On 16 September 2010 20:38, Mario Juric mju...@cfa.harvard.edu wrote:
I'm looking at Basemap as a backend for plotting maps of the sky in
different projections, and so far it seems like a really good match!
Excellent work!
The only problem that I don't know how to solve is that
On 16 September 2010 22:52, Jeremy Conlin jlcon...@gmail.com wrote:
I have a colorbar which has some ticks, but I would like to add my own
ticks without replacing any of the existing ones. In addition, I
would like to give the ticks a different labels like min and max.
Can someone show how
Jae-Joon Lee wrote:
Another option is to use mpl_toolkits.axisartist (distributed with mpl
1.0). However, learning curve of the axisartist is also steep. You may
play around with the last figure in the example below.
Hi there,
I've been looking for a way to automatically set the extension of a
file when saving a plot via the navigationBar 'save' button. In my
case, when I change the file type, the extension of the default
filename ('image.png') won't change. I'd like it to change to the
extension of the file
http://matplotlib.sourceforge.net/examples/pylab_examples/accented_text.html
hth,
Alan Isaac
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
On Sep 17, 2010, at 8:58 AM, Erik Janssens wrote:
Hi,
I'm using matplotlib in a pyqt context, as described
in the book 'Matplotlib for python developers'.
When the window is large enough, everything works
fine, but when the window is too small part of
the x-axis labels get chopped.
Hello
I am trying to calculate the facecolors for the Axes3D.plot_surface
function, to have something similar to matlab surf 4th argument!!
Something like plot_surface(x,y,z,facecolors=calc_colors(v))
So, I need to obtain the colors corresponding to the values of v! I
created the function
Hello Tony,
thanks a lot for the code, I'll try it out !
Regards,
Erik
On Fri, 2010-09-17 at 09:46 -0400, Tony S Yu wrote:
On Sep 17, 2010, at 8:58 AM, Erik Janssens wrote:
Hi,
I'm using matplotlib in a pyqt context, as described
in the book 'Matplotlib for python developers'.
On Fri, Sep 17, 2010 at 8:59 AM, Martinho MA m...@ua.pt wrote:
Hello
I am trying to calculate the facecolors for the Axes3D.plot_surface
function, to have something similar to matlab surf 4th argument!!
Something like plot_surface(x,y,z,facecolors=calc_colors(v))
So, I need to obtain the
Hi folks,
I have a data set that is in the form of an irregular 2D grid with
associated values, one for each node. I would like to plot this as a
raised surface, with colours that indicate the z-value. Somehow I
didn't find just quite the example I was looking for. After digging
around in the
mm.to_rgba(var.flat) doesn't work as plot_surface facecolors, but
mm.to_rgba(var) does!
Thanks for the hint
mma
Benjamin Root wrote:
On Fri, Sep 17, 2010 at 8:59 AM, Martinho MA m...@ua.pt
mailto:m...@ua.pt wrote:
Hello
I am trying to calculate the facecolors for the
Has anyone ever added a print button to the pyplot toolbar? And in general
how is it possible to modify that toolbar instead of creating a new one?
-Tim
--
Start uncovering the many advantages of virtual appliances
Is there a way to set the legend font color? I am plotting multiple sets of
data using different colors. I basically want to set each legend font color
the same as the corresponding data line color. Here is an example.
x = arange(0,10,0.1)
y1 = sin(x)
y2 = cos(x)
plot(x,y1,'r-',x,y2,'b--')
I
teq-2 wrote:
Has anyone ever added a print button to the pyplot toolbar? And in general
how is it possible to modify that toolbar instead of creating a new one?
-Tim
The actual toolbar is defined in the backend. It is not difficult to modify
it.
For the Qt4agg backend on windows
Hello,
Can someone confirm me if this creates a dashed line for a simple step plot?
# this is fine
plt.plot(range(10), g--)
# plots solid line!
plt.step(range(10), g--)
Thanks,
--
Gökhan
--
Start uncovering the many
I get a solid line for plt.step like you do.
MPL 1.0.0, SVN revision 8657.
-Jeff
On Sep 17, 2010, at 4:34 PM, Gökhan Sever wrote:
Hello,
Can someone confirm me if this creates a dashed line for a simple step plot?
# this is fine
plt.plot(range(10), g--)
# plots solid line!
Same here.
-paul h.
On Fri, Sep 17, 2010 at 2:21 PM, Jeffrey Blackburne
jblackbu...@gmail.com wrote:
I get a solid line for plt.step like you do.
MPL 1.0.0, SVN revision 8657.
-Jeff
On Sep 17, 2010, at 4:34 PM, Gökhan Sever wrote:
Hello,
Can someone confirm me if this creates a dashed
HI,
Is there a way to get the size of the bounding box for the axes which
includes the axes labels and tick marks? It looks like
Axes.get_position/set_position refers to the inner position (i.e the actual
plot area).
In matlab (http://www.mathworks.com/help/techdoc/ref/axes_props.html)
Hi:
I am trying to make a 1row by 3 column plot with subplot, and I want
the first plot (subplot(131)) to have equal aspect ratio, but the rest
can auto scale.
My code results in an empty plot for the 1st column subplot whenever I
try to use the set_aspect('equal')
Any ideas?
Thanks
John
It does this automatically.
ted
On 17 September 2010 19:13, musik xi.xiaoxi...@gmail.com wrote:
Is there a way to set the legend font color? I am plotting multiple sets of
data using different colors. I basically want to set each legend font color
the same as the corresponding data line
David,
I'm not sure I understand how I would make use of my function then.
My function needs to be evaluated over a 3-d mesh (x, y, and z) , and then the
level surfaces (not contour lines) calculated. I guess I could treat
z as a parameter, then plot the zero level contour lines of my
Hello. First, let me apologize if this has been covered---I tried to search
the mailing list archives but was unable to get that to work (even queries that
should have returned many hits were returning nothing).
When I plot with the MacOSX backend using a serif font, the negative signs on
Hi
I have a function z(x, y) on a regular grid. But some of the value
z are not defined on (x,y). I want to plot the contour or contourf of
z on (x,y) but exclude specific (x,y) points.
How can I do it ? Right now I just draw small colored square
(rectangular) around defined (x,y) the color is
On Fri, Sep 17, 2010 at 1:13 PM, musik xi.xiaoxi...@gmail.com wrote:
Is there a way to set the legend font color? I am plotting multiple sets of
data using different colors. I basically want to set each legend font color
the same as the corresponding data line color. Here is an example.
x =
I misunderstood your question, musik. My apologies.
Ted
On 18 September 2010 02:15, Benjamin Root ben.r...@ou.edu wrote:
On Fri, Sep 17, 2010 at 1:13 PM, musik xi.xiaoxi...@gmail.com wrote:
Is there a way to set the legend font color? I am plotting multiple sets
of
data using different
On Fri, Sep 17, 2010 at 1:13 PM, musik xi.xiaoxi...@gmail.com wrote:
Is there a way to set the legend font color? I am plotting multiple sets of
data using different colors. I basically want to set each legend font color
the same as the corresponding data line color. Here is an example.
x =
On Fri, Sep 17, 2010 at 3:34 PM, Gökhan Sever gokhanse...@gmail.com wrote:
Hello,
Can someone confirm me if this creates a dashed line for a simple step
plot?
# this is fine
plt.plot(range(10), g--)
# plots solid line!
plt.step(range(10), g--)
Thanks,
--
Gökhan
My version is
On Fri, Sep 17, 2010 at 4:37 PM, Jeremy Lewi jl...@intellisis.com wrote:
HI,
Is there a way to get the size of the bounding box for the axes which
includes the axes labels and tick marks? It looks like
Axes.get_position/set_position refers to the inner position (i.e the actual
plot
On Fri, Sep 17, 2010 at 8:43 PM, Gökhan Sever gokhanse...@gmail.com wrote:
On Fri, Sep 17, 2010 at 3:34 PM, Gökhan Sever gokhanse...@gmail.comwrote:
Hello,
Can someone confirm me if this creates a dashed line for a simple step
plot?
# this is fine
plt.plot(range(10), g--)
# plots solid
Hi Luke,
On Fri, Sep 17, 2010 at 5:49 PM, Dale Lukas Peterson
hazelnu...@gmail.com wrote:
I'm not sure I understand how I would make use of my function then.
My function needs to be evaluated over a 3-d mesh (x, y, and z) , and then
the
level surfaces (not contour lines) calculated. I
On 9/17/10 9:08 PM, Fernando Perez wrote:
Hi Luke,
On Fri, Sep 17, 2010 at 5:49 PM, Dale Lukas Peterson
hazelnu...@gmail.com wrote:
I'm not sure I understand how I would make use of my function then.
My function needs to be evaluated over a 3-d mesh (x, y, and z) , and then
the
On Fri, Sep 17, 2010 at 12:44 AM, Scott Sinclair
scott.sinclair...@gmail.com wrote:
On 16 September 2010 22:52, Jeremy Conlin jlcon...@gmail.com wrote:
I have a colorbar which has some ticks, but I would like to add my own
ticks without replacing any of the existing ones. In addition, I
would
32 matches
Mail list logo