) = len(c_b211_k) != len(diff_hex),
Since diff_hex are the binned counts.
(4) Any simple way to get around this, to plot the hexbin difference counts
on top of the the hexbin (c_b211_jmk,c_b211_k) distribution?
thanks in advance with best regards,
- Sebastian
--
Erik Tollerud
) to
transparent. An example is attached, with renderings of the two
states in the URLs below.
Is this a bug, or am I doing something wrong?
http://dl.dropbox.com/u/8683962/mpl3dalpha-1.png
http://dl.dropbox.com/u/8683962/mpl3dalpha-2.png
--
Erik Tollerud
#!/usr/bin/env python
from numpy.random
--
Erik Tollerud
At first glance, I wonder if this is just because of mplot3d's naive
approach of figuring out what is behind other things. mplot3d doesn't do
any sort of physics or ray-tracing to figure out how elements are positioned
relative to the camera. Try it again with perfectly opaque
=plt.subplot2grid((2,6),(1,4),rowspan=2,colspan=1)
But instead, apparently random partterns of axes appear and some to
override each other so that only one subplot is present in the end...
what's going on here?
--
Erik Tollerud
I'm curious if anyone knows a good way to embed pydot
(http://code.google.com/p/pydot/) graphs (or really, any
graphviz-style graphs) inside matplotlib somehow. I could easily
write out a png or something from pydot and then imshow it, but that
seems very kludgy. Is there some way to load svg or
)
On Mon, Jan 18, 2010 at 11:49 PM, Matthias Michler
matthiasmich...@gmx.net wrote:
Hi Erik,
with current svn I see markers of different size. What version of matplotlib
you are using?
Kind regards,
Matthias
On Monday 18 January 2010 21:38:25 Erik Tollerud wrote:
Is there a way to change
Is there a way to change the sizes of scatter plot markers for
mplot3d.Axes3D.scatter3d ? I do
from mpl_toolkits.mplot3d import Axes3D
ax = Axes3D(gcf())
x,y,z = randn(3,20)
ax.scatter(x,y,z,s=30*rand(20))
and I expect to see 20 points of a range of sizes from 1 to 30... but
instead I see them
Just based on the traceback, the problem seems to be in Tk - does anything
in tk work for you? (e.g. any of the builtin python gui stuff) You might
try installing wx and changing your matplotlibrc file to have the line
backend:WxAgg in it. I've never tried using the wx backend on windows
(anyone
I'm hoping to generate a line plot where the color of each pixel on
the plot is given by linearly interpolating the colormap from each
point specified in the line, instead of having the whole line be a
solid color. I can mock this up by doing a scatter plot where the
points are much closer
for my figures. Is there an
obvious work-around to fix this, or does some of the labelling code
need to be changed? Note that this problem is much exacerbated if I
use larger font sizes or smaller figures...
--
Erik Tollerud
Graduate Student
Center For Cosmology
Department of Physics and Astronomy
I've been playing with some of the projections in matplotlib,
recently, and have some questions/noticed some odd behavior:
1. Is there any way to activate a projection mode with the pyplot
interface other than the subplot(111,projection='whatever') method a
la
:21 AM, Darren Dale [EMAIL PROTECTED] wrote:
On Sunday 22 June 2008 21:49:03 Erik Tollerud wrote:
I'm trying to adjust the font weight on some of my plots - I'd like to
have the numbers along the axis ticks be bold instead of regular font
like the default setting. The problem is, nothing I do
I'm trying to adjust the font weight on some of my plots - I'd like to
have the numbers along the axis ticks be bold instead of regular font
like the default setting. The problem is, nothing I do seems to
change the font weight. I've changed everything I can font in
matplotlibrc to bold, and
I am having trouble figuring out how to control the weight of labels
and text with the usetex option set to True. I would like to force
all mathmode labels and text to be at least bold. I can imagine doing
this either by substituting a font (i.e. changing the mathtext.fontset
to 'custom' and all
I'm trying to make a plot that has two x-axis with one of them
nonlinear - twiny() is working great, but I'm hung up on how to get
the second axis to be spaced properly. For the sake of example, lets
say the first axis is linear on [1,2] - if I just plot data according
to that x-axis, all is
I use the scatter(x,y) command to make scatter plots, but I noticed
today (on the SVN version of mpl) that when I call legend() after
giving scatter(x,y,label='somelabel') , the legend doesn't show the
marker symbols - it only has a square patch colored in the color that
was used for the scatter
16 matches
Mail list logo