On Tue, Jun 9, 2009 at 2:13 PM, Hani Nakhoul wrote:
> Dear all,
> Here is the listing:
>
> In [1]: import matplotlib
>
> In [2]: print matplotlib.__file__
> matplotlib/__init__.pyc
>
> In [3]: ls -a
> ./ .gimp-2.6/ Public/
> ../ .gksu.lock .pulse/
> .adobe/
I'm sorry--here's the right listing:
$ ls matplotlib
agg24 examples KNOWN_BUGS PKG-INFOsetup.py
build __init__.py libREADME.txt src
build.out __init__.pyc licensesetup.cfg.template TODO
CHANGELOG INSTALL
--- On Tue, 6/9/09, Gökhan SEVER wrote:
> Modified that section as to eliminate confusions:
> NOTE: Experimental work has been going on to integrate 3D plotting
>functionality into matplotlib. Please see the related mplot3d documentation or
>take a look at matplotlib gallery for example 3D plo
On Tue, Jun 9, 2009 at 2:42 PM, Hani Nakhoul wrote:
> I'm sorry--here's the right listing:
>
> $ ls matplotlib
> agg24 examples KNOWN_BUGS PKG-INFO setup.py
> build __init__.py lib README.txt src
> build.out __init__.pyc license
On Tue, Jun 9, 2009 at 3:05 PM, Lou Pecora wrote:
> -
> It is good news that matplotlib 3D functions are being upgraded. Thank you.
> But it is unclear from the message whether one still must stay with 0.9
On Tue, Jun 9, 2009 at 3:05 PM, Lou Pecora wrote:
>
> --- On *Tue, 6/9/09, Gökhan SEVER * wrote:
> > Modified that section as to eliminate confusions:
>
> *> NOTE:* *Experimental work has been going on to integrate 3D plotting
> functionality into matplotlib. Please see the related mplot3d
> docu
Hi,
I am writing some code for automated testing via GPIB using MPL and PyQt. To
simulate automated data collection while debugging the program, I have added a
for loop (see below) after reading in a data file that plots each point one by
one. When I run the program in Linux, I see each point
On Tue, Jun 9, 2009 at 5:17 PM, Steve
Nicholes wrote:
> I am writing some code for automated testing via GPIB using MPL and PyQt.
> To simulate automated data collection while debugging the program, I have
> added a for loop (see below) after reading in a data file that plots each
> point one by o
Hi all,
I am still very green when it comes to the use of matplotlib but I am
finding the versatility and robustness of the package extremely useful
at present. One application I am constantly using matplotlib for
concerns a break in the axis. Although I have a script or two based on
an origin
You're right, I haven't read your question properly... I am not sure that
autocrop exists in pil. Maybe somebody with more experience can shed some
light.
Sent from my iPhone
On Jun 9, 2009, at 12:10 PM, "Nils Wagner" wrote:
On Tue, 9 Jun 2009 11:31:19 -0700 (PDT)
Anton Vasilescu wrote:
I
John Hunter writes:
> es, this is your problem. You have the matplotlib source directory in
> your HOME directory and when you run from your home directory, it is
> being picked up instead of the installation directory. I usually name
> my src tree "mpl" to avoid this problem
I don't know why
Thanks John. I hope you aren't receiving this reply twice (my email kicked me
out when I hit send). I actually am importing pylab so it isn't an entirely qt
app. I didn't post all of the code originally b/c it is long (and it would
reveal how poor of a programmer I am :) ), but here are the r
If you're using very recent version of mpl, you may try savefig with
"bbox_inches" option.
savefig("a.png", bbox_inches="tight")
The algorithm is not perfect, but will work for most of simple plots.
Regards,
-JJ
On Tue, Jun 9, 2009 at 1:22 PM, Nils Wagner wrote:
> Hi all,
>
> I am looking for
Dear all.
When I run the script below, the xlabel and ylabel do not show up. If
I increase the figure size, it all works fine. If I open the file in
Adobe Illustrator, the x and ylabels are both there, but outside the
canvas (or bounding box or whatever it is called). I believe this must
Hi Paul,
I am not sure if it is a bug. But, it is usual that such a thing
happens when you are making small figures (like in your case).
Try adjusting the following parameters in your rc file, in particular
increase the left space.
# The figure subplot parameters. All dimensions are fraction of
Dear all.
When I run the script below, the xlabel and ylabel do not show up. If
I increase the figure size, it all works fine. If I open the file in
Adobe Illustrator, the x and ylabels are both there, but outside the
canvas (or bounding box or whatever it is called). I believe this must
Hello,
Currently, in navigation window, the coordinates of cursor show like
x = "%.1f", y="%.1f"
Is it possible to custom these labels such that they show like
my_x="%.3f", my_y="%.6f"
Thank you.
Nan
--
Crystal Report
You may just want to start with the "custom_ticker1.py" example here:
http://matplotlib.sourceforge.net/examples/pylab_examples/custom_ticker1.html
The meat of it is just to provide a function that converts the incoming
values (in your case pixel positions) into whatever you want to be
displaye
On Tue, Jun 9, 2009 at 4:44 AM, Nan Dun wrote:
> Hello,
>
> Currently, in navigation window, the coordinates of cursor show like
> x = "%.1f", y="%.1f"
>
> Is it possible to custom these labels such that they show like
>
> my_x="%.3f", my_y="%.6f"
def my_x(x): return '%.3f'%x
def my_y(y): return
Greetings! I am new to matplotlib and python, and encountered a general problem:
If i try to customize matplotlibrc, nothing changes. I changed the right thing:
When i try
import matplotlib
matplotlib.matplotlib_fname()
I get 'C:\\Python25\lib\\site-packages\\matplotlib\\mpl-data\\matplotlibrc'
(
On Tue, Jun 9, 2009 at 8:23 AM, Ulrich vor dem Esche wrote:
> Greetings! I am new to matplotlib and python, and encountered a general
> problem:
> If i try to customize matplotlibrc, nothing changes. I changed the right
> thing:
> When i try
>
> import matplotlib
> matplotlib.matplotlib_fname()
>
Ulrich vor dem Esche wrote:
> ...
> #xtick.labelsize : 14 (from '12')
> #xtick.direction : out (from 'in')
>
> nothing changes ...
> I must have missed something very basic..
I guess that would be the "#" which declares everything behind as a comment.
Does it work when you remove the
Chaitanya Krishna writes:
> On Tue, Jun 9, 2009 at 12:05 PM, Paul Anton Letnes
> wrote:
>>
>> When I run the script below, the xlabel and ylabel do not show up. If I
>> increase the figure size, it all works fine.
>
> I am not sure if it is a bug. But, it is usual that such a thing
> happens wh
Dear all,
I'm running matplotlib 0.98.5.2 on a machine with Ubuntu Intrepid 8.10. It's
worked well for me so far, but I encounter problems running matplotlib when
trying to update the PYTHONPATH in the .bashrc file. Adding just the line
"export PYTHONPATH=$PYTHONPATH", for example, gives the follow
On Tue, Jun 9, 2009 at 10:18 AM, Jouni K. Seppänen wrote:
> Chaitanya Krishna writes:
>
>> On Tue, Jun 9, 2009 at 12:05 PM, Paul Anton Letnes
>> wrote:
>>>
>>> When I run the script below, the xlabel and ylabel do not show up. If I
>>> increase the figure size, it all works fine.
>>
>> I am not
On Tue, Jun 9, 2009 at 10:22 AM, Hani Nakhoul wrote:
> Dear all,
> I'm running matplotlib 0.98.5.2 on a machine with Ubuntu Intrepid 8.10. It's
> worked well for me so far, but I encounter problems running matplotlib when
> trying to update the PYTHONPATH in the .bashrc file. Adding just the line
>
>
>> I am curious though why you prefer to alter the default color cycle
>> rather than just passing the color in to the plot command
[...]
> I got tired of the extra code involved with this method and went
> looking for a way to change the defaults.
I do something similar to enforce style/subs
Hi all,
I am looking for an autocrop function.
It should remove borders from an image.
Is it available in matplotlib ?
Any pointer would be appreciated.
Thanks in advance
Nils
Sebastian Busch wrote:
>
>
> Hey Esmail,
>
> there was the possibility for 3D plots in matplotlib:
> http://www.scipy.org/Cookbook/Matplotlib/mplot3D
>
> however, the mayavi "mlab" interface was designed explicitly to be as
> simple as pylab.
> http://code.enthought.com/projects/mayavi/docs/deve
On Tue, Jun 9, 2009 at 12:46 PM, Esmail wrote:
> Sebastian Busch wrote:
> >
> >
> > Hey Esmail,
> >
> > there was the possibility for 3D plots in matplotlib:
> > http://www.scipy.org/Cookbook/Matplotlib/mplot3D
> >
> > however, the mayavi "mlab" interface was designed explicitly to be as
> > simp
Hi Gökhan,
Gökhan SEVER wrote:
>
> I'll give mayavi/mlab a try, I think there was a note to the
> effect that matplotlib quit supporting 3D plots and recommended
> mayavi.
>
>
> There is still work going on to improve matplotlib 3d plotting
> functionality. You can see matplotlib
On Tue, Jun 9, 2009 at 1:00 PM, Esmail wrote:
> Hi Gökhan,
>
>
> Gökhan SEVER wrote:
> >
> > I'll give mayavi/mlab a try, I think there was a note to the
> > effect that matplotlib quit supporting 3D plots and recommended
> > mayavi.
> >
> >
> > There is still work going on to improve
I wasn't able to find one in Matplotlib but you can use PIL library for all the
imaging work. Really easy to use.
Here is the webpage for it: http://www.pythonware.com/products/pil/index.htm
Anton
From: Nils Wagner
To: matplotlib-users@lists.sourceforge.net
On Tue, 9 Jun 2009 11:31:19 -0700 (PDT)
Anton Vasilescu wrote:
> I wasn't able to find one in Matplotlib but you can use
>PIL library for all the imaging work. Really easy to use.
> Here is the webpage for it:
>http://www.pythonware.com/products/pil/index.htm
>
> Anton
>
>
Hi Anton,
Thank
Dear all,
Here is the listing:
In [1]: import matplotlib
In [2]: print matplotlib.__file__
matplotlib/__init__.pyc
In [3]: ls -a
./ .gimp-2.6/ Public/
../ .gksu.lock .pulse/
.adobe/.gnome2/ .pulse-cookie
ATLAS/ .gnome2_private/
35 matches
Mail list logo