operating system Windows 7
matplotlib version : 1.1.0
obtained from sourceforge
the class seems to generate the same Wt matrix for every input. The
every element of the weight matrix is either +sqrt(1/2) or -sqrt(1/2).
dat1 = 4*np.random.randn(200,1) + 2
dat2 = dat1*.25 + 1*np.random.randn(200,1)
On Mon, Jun 11, 2012 at 2:05 PM, wiswit wrote:
> While in emacs or vim, you cannot simple select lines and execute them, so
> you have to frequently copy and code and use %cpaste or %paste to paste the
> code.
In emacs you can activate ipython in your emacs.el file and then you
can send arbitrary
I think this is worth discussing. But I have only 1.3 years experience with
matplotlib and python. Basically, I do the same as you. But I think there
are few tips I would like to follow:
1. I would agree to make one major theme plot one script file. Avoid make
very long scripts with many plots. I
Le 11/06/2012 22:30, magurling a écrit :
> I just wanted the axis line to end at the last y tick
> I've never used an explicit axis. What will axis('tight') actually do?
In your case plt.axis('tight') will constrain the axes to your plotted
object, no space above, below, or at the right. The "go
Jerzy Karczmarczuk-2 wrote:
>
> What do you really want?
>
I just wanted the axis line to end at the last y tick
> I would suggest using an explicit axis, e.g.
>
> plt.axis([0,0.10,-25,80])
>
> (or between -30 and 100, or 'tight', etc.)
>
I've never used an explicit axis. What will axis
Tony Yu-3 wrote:
>
> `yticks()` just sets the ticks, which shows up correctly in both plots. It
> sounds like what you want to specify is the axis limit. You can add the
> following (e.g. after the call to `yticks`):
>
>plt.ylim(ymin=-30)
>
Thanks Tony for clearing up my misunderstanding
On Mon, Jun 11, 2012 at 12:23 PM, Gustavo Goretkin <
gustavo.goret...@gmail.com> wrote:
> The problem is that the function in _path.cpp expects a path radius
> argument, r.
>
> Here is the signature:
> point_in_path(double x, double y, double r, PathIterator& path,
> const agg::trans
I can't reproduce this on version >= 1.1.0. What version of matplotlib
are you using?
On 11 June 2012 17:23, Gustavo Goretkin wrote:
> The problem is that the function in _path.cpp expects a path radius
> argument, r.
>
> Here is the signature:
> point_in_path(double x, double y, double r, PathI
The problem is that the function in _path.cpp expects a path radius
argument, r.
Here is the signature:
point_in_path(double x, double y, double r, PathIterator& path,
const agg::trans_affine& trans)
but the invocation in python looks like this:
point_in_path(point[0], point[1], se
to matplotlib-use.
Hi,
I have a data set that is composed of x,y,z coordinates of the center of
cells and counts of objects in each contained in cell. I am using the
following code to do a scatter plot of the counts per cell.
ax = fig.add_subplot(111, projection='3d')
ax.scatter(Xa, Ya, Za, z
http://reyesmagospamplona.com/tuluqmzrpc/780688.html--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discus
Hey guys,
thanks for the quick replies. You are right, the problem appears to be
related to my pdf viewer (okular). More concretely, pdf viewers based
on the poppler library (e.g. xpdf, qpdfview) show the same problem in
ubuntu 12.04. Everything works fine with evince or acroread.
Thanks,
Benjami
12 matches
Mail list logo