Dear All,
Thanks to what I found here
http://bit.ly/1qJlWkP
I discovered how to plot the convex hull around a set of points
(please have a look at the script pasted at the end of the email).
Everything is almost done,but I have a problem: my "points" are not
really point-like: they are sphere who
of matplotlib.
Keep up the good work.
Cheers
Lorenzo
On 10/26/2010 06:07 AM, Tony S Yu wrote:
>
> On Oct 25, 2010, at 12:56 PM, Lorenzo Isella wrote:
>
>> Dear All,
>> I am aware that this question has already been asked several times on
>> the mailing list, see e.g.
On 10/25/2010 11:36 PM, Benjamin Root wrote:
> , bbox_inches='tight'
Hi,
And thanks for your suggestion. The improvement (if any) if
unfortunately rather modest.
I'd like to hear about the other "tricks".
Cheers
Lorenzo
---
Dear All,
I am aware that this question has already been asked several times on
the mailing list, see e.g.
http://bit.ly/aPzQTA
However, in the following snippet, nothing I tried has been able to
reduce the amount of white space around the figure (including toying
around with
ax = plt.axes([0
Dear All,
Please consider the snippet at the end of the email.
Admittedly, I am still quite cumbersome with the matplotlib pipeline
(I am a bit unsure about how to manipulate objects and their
properties).
The snippet below produces two plots. I have some questions
(1) for both plots: how do I add
Dear All,
Please consider the snippet at the end of the email.
Admittedly, I am still quite cumbersome with the matplotlib pipeline (I
am a bit unsure about how to manipulate objects and their properties).
The snippet below produces two plots. I have some questions
(1) for both plots: how do I add
Dear All,
I am not very much into matplotlib, so please bear with me if I am
asking a trivial question.
I put together this small snippet with the help I got on the mailing
list and using the arrow example at
http://bit.ly/cI9dqj .
My problem is (or at least I believe it to be) the fact that I
Hello,
So maybe a couple of images can help.
Using the code
#!/usr/bin/env python
"""
See pcolor_demo2 for a much faster way of generating pcolor plots
"""
from __future__ import division
from pylab import *
def func3(x,y):
return (1- x/2 + x**5 + y**3)*exp(-x**2-y**2)
def func4(x,y):
th
as if I was plotting a temperature field on a tube
cross-section)
This is easy to do in pylab if the domain is e.g. a square, but I do
not know how to handle the simple case I described above conveniently.
Many thanks
Lorenzo
2009/4/2 Jae-Joon Lee :
> On Wed, Apr 1, 2009 at 6:50 AM, Lorenz
Dear All,
I am having a hard time with something which must be fairly doable: I
would like to plot a simple scalar function on a circular domain.
Consider for instance a trivial modification of one of the online examples:
Code 1
#!/usr/bin/env python
"""
See pcolor_demo2 for a much faster way of
Perfect; that saved my day.
Many thanks
Lorenzo
2008/10/24 Angus McMorland <[EMAIL PROTECTED]>:
> 2008/10/24 Lorenzo Isella <[EMAIL PROTECTED]>:
>> Dear All,
>> I am running Debian testing on my box. I had not used Python for about
>> a couple of weeks (during wh
Dear All,
I am running Debian testing on my box. I had not used Python for about
a couple of weeks (during which I updated my system regularly) only to
find out that today I have a trouble if I try to import pylab. See
below what happens
In [1]: import pylab as p
--
Dear All,
I am running Debian testing on my box and I use pylab as installed
from the standard repositories.
Unfortunately, it seems that there is something broken either with
pylab or Python (I have been upgrading the system these days) since I
am now unable to create .pdf files:
For instance, con
Dear All,
I think the solution to my problem must be a one-liner, but I have
been unsuccessful.
I am trying to use latex formulas (nothing dramatically complicated)
inside a figure.
I suppose everything is working correctly on my system.
I tried running the example at:
http://www.scipy.org/Cookbook
Dear All,
I am running Debian testing on my box and I installed matplotlib from
the standard repositories.
>From time to time I experience a problem when plotting several figures.
Consider the following code snippet:
#! /usr/bin/env python
import scipy as s
import numpy as n
import pylab as p
x
Dear All,
I am concerned there could be a bug in errorplot for pylab.
I am running Debian testing (the amd64 release) on my box.
Some time ago I posted about a possible bug in pylab and the
workaround I found (since I prefer to use Debian repositories rather
than matplotlib CVS version) was to add
is worth a try.
Cheers
Lorenzo
Darren Dale wrote:
> Hi Lorenzo,
>
> On Tuesday 15 January 2008 4:14:24 pm Lorenzo Isella wrote:
>
>> Dear All,
>> I am sending this email out of frustration, but I hope that someone will
>> be able to tell me what is going on.
>
Dear All,
I am sending this email out of frustration, but I hope that someone will
be able to tell me what is going on.
I am using pylab on a Debian testing box.
I have the feeling that there is some problem with pylab when I
alternate, as I am doing now, many linear and log-log plots. Very often
Dear All,
I would like to try out matplotlib for some basic 3D plotting.
First of all, is matplotlib suitable for that? I am asking since I read
on the website that matplotlib's selling point is 2D plotting.
What I would like to plot should be relatively easy: say that I have a
distribution (e.g.
Dear All,
Some weeks ago I emailed the list asking how to represent data on a
non-rectangular domain (namely a velocity component along a tube
cross-section in my case).
I now can tell that everything goes as in the example described by
Hansen in Matplotlib-users Digest, Vol 14, Issue 13, which
Dear All,
I am a bit puzzled at an unusual problem I am experiencing.
Fundamentally, I call a couple of functions and I plot some data.
First, I create a semilog plot using pylab.semilogx, then I make a
normal linear plot.
But, in the second case I get an error message:
Traceback (most recent call
est just
>
>
> On 6/26/07, Lorenzo Isella < [EMAIL PROTECTED]> wrote:
> >
> > Hello,
> > Thanks for your suggestion, but I still have a problem.
> > Maybe I did not make myself clear (or most likely I have a problem
> > about how to implement your suggesti
et the r coordinates
theta = tab[:,1] #get the theta coordinates
T = tab[:,2] #get the temperature
# now, you can process/plot your data
Hope this help.
Best regards.
Benoit
Le 25-juin-07 à 19:03, Lorenzo Isella a écrit :
> Dear All,
> I am quite a newbie about Python and Pylab, but I am
Dear All,
I am quite a newbie about Python and Pylab, but I am starting to like
the ease you can develop with using these tools.
I am interested in 2D radial plots (think for instance about the plot
of the temperature along the cross-section of a pipe).
I had a look at the tutorial online, in parti
24 matches
Mail list logo