Hello, could someone please help me understand a strange problem, possibly
associated with PYTHONPATH. When I import matplotlib, pylab, or scipy from
any directory other than the root installation directory, it fails. However,
if I'm in the python installation directory there are no errors. Thanks
Quiver doesn't seem to be able to handle begin passed zeros for the
vector lengths. The full error output is below. I'm running Leopard
with macpython 2.5.2 using
matplotlib-0.91.2-py2.5-macosx-10.3-i386.egg
The following code does not work:
rx = numpy.array([0.0,0.0])
ry = numpy.array([1.0,-1.0]
Ronald Oussoren wrote:
> That load command is for LC_UUID. The version of macholib in subversion
> should have some support that is (basicly ignoring the entire load
> command because macholib won't have to change it), could you test that
> (easy_install macholib==dev)?
Yup, that problem is sol
I guess you could read the rcParams value that corresponds to the
screen display and set rcParams['savefig.dpi'] to that value (this
might work):
mydpi = rcParams['figure.dpi']
rcParams['savefig.dpi'] = mydpi
But that seems slightly hackish and maybe not much more elegant than
what you are curren
On Thursday 27 March 2008 01:27:28 pm Gerolf Ziegenhain wrote:
> More complete:
>
> I tried all permunations of backends. Now I stick to PS, because I use
> matplotlib from commandline with scripts. The environment is debian/etch
> with a current version of matplotlib (self compiled).
>
> Try this
Ryan Krauss wrote:
> I think this line in the rc file is the trick
>
> #savefig.dpi : 100
nope. I think all that does is set the default dpi for savefig. I don't
want any default, I want it to use the same dpi that is being used for
display, and I don't know ahead of time what that is, I
Christopher Barker wrote:
> Michael Droettboom wrote:
>
>> I think the real reason this wasn't done is that its tricky to do at the
>> C level in a cross-platform way. At present it uses the regular POSIX
>> fopen in C, which isn't really "Unicode aware".
>>
>
> The actual error is from
Hi all,
I have a application using a wxPython gui which has matplotlib figure, axes
etc The code works fine and the display of mathtext works fine when run in
python.
When I compile it and try to display any text it doesn't render the text at all
(this can be anything from a simple lett
Michael Droettboom wrote:
> I think the real reason this wasn't done is that its tricky to do at the
> C level in a cross-platform way. At present it uses the regular POSIX
> fopen in C, which isn't really "Unicode aware".
The actual error is from trying to put the filename in a std::string,
b
It's a very good idea, when posting questions to a list like this, to
ask not only the specific question, but also give the background, so we
can wee what problem you are trying to solve.
sa6113 wrote:
> I use matplotlib and Backend Agg to draw a plot , I want to show this plot in
> my GUI in sp
More complete:
I tried all permunations of backends. Now I stick to PS, because I use
matplotlib from commandline with scripts. The environment is debian/etch
with a current version of matplotlib (self compiled).
Try this script
from pylab import *
t
Matthias Michler wrote:
> I'm not sure that I understand you correctly. The code I refering is the one
> which I attached some mails ago. The following works for me:
Ah, okay, to get the problem I was having, change your script as follows:
> --
Dear matplotlib
I have a newbie question (I am new to python, migrating from Matlab). Just
like the subject suggests, I need to display an image X stored in a matrix
(well, a 2D numpy array in fact) versus the coordinates specified by arrays
x and y. Further, it would be nice if mouse position wa
Have you tryied : ipython -pylab ?
It launch an ipython shell that support mathplotlib gui loop.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
] De la part de Wolfgang Kerzendorf
Envoyé : mercredi 26 mars 2008 08:31
À : matplotlib-users@lists.sourceforge.net;
[EMAIL
Gerolf Ziegenhain wrote:
> Dear Mailinglist,
>
> Today I tried to change the fontset to sans-serif for a whole plot.
> Everything except the ticks could be adjusted.
>
>
> This is what I tried first:
> ***
> ffont = {'size':'20','family':'sans-se
Hello Chris,
On Thursday 27 March 2008 12:22, Chris Withers wrote:
> Matthias Michler wrote:
> >>> the above script leads
> >>> to a different behaviour on my system.
> >>
> >> What is that behaviour and what version of matplotlib are you using?
> >
> > I think it is the expected behaviour. The nu
Dear Mailinglist,
Today I tried to change the fontset to sans-serif for a whole plot.
Everything except the ticks could be adjusted.
This is what I tried first:
***
ffont = {'size':'20','family':'sans-serif'}
xticks(**ffont)
**
Matthias Michler wrote:
>>> the above script leads
>>> to a different behaviour on my system.
>> What is that behaviour and what version of matplotlib are you using?
>
> I think it is the expected behaviour. The number of xtick is aproximately
> constant and some tick get sorted out, when the xli
And, before someone asks, "Why are you using "h" and this line:
h= [seg[0]*0.000278,seg[1]*0.000278]
ax.annotate(seqnum[nshape],h)",
I was using this, instead, but tried to experiment with things to try to
make things work right:
ax.annotate(seqnum[nshape],seg)
.
I usually
OK Jeff, Thanks for your help on the previous question - I had been playing
with different projections and resolutions, so that's why the comments
didn't match the actual settings in the procedure calls. Now for a "real"
problem:
I'm trying to plot the cities from this web site:
http://nation
KURT PETERS wrote:
> I'm trying what I thought was a simple test and getting "bad" results. I am
> taking some lat long coords, and feeding it into a map. The conversion is
> not giving "real" values that can be plotted on a map (and actually produces
> an error when I use annotate).
> I'm inc
I think the real reason this wasn't done is that its tricky to do at the
C level in a cross-platform way. At present it uses the regular POSIX
fopen in C, which isn't really "Unicode aware". See the "Unicode
filenames" section of the link below for some of the complications.
Linux is particu
Forget it. I was putting lat/long instead of long/lat.
Regards,
Kurt
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.ne
I'm trying what I thought was a simple test and getting "bad" results. I am
taking some lat long coords, and feeding it into a map. The conversion is
not giving "real" values that can be plotted on a map (and actually produces
an error when I use annotate).
I'm including the simple code and th
On Wed, Mar 26, 2008 at 10:38 PM, sa6113 <[EMAIL PROTECTED]> wrote:
>
> I use matplotlib and Backend Agg to draw a plot , I want to show this plot in
> my GUI in specific area (Plot area) , I need to have the image object in
[snip]
> Is it clear?
Not to me :)
Do you mean that you've already
On Wednesday 26 March 2008 19:39, Chris Withers wrote:
> Matthias Michler wrote:
> >> My x-axis is time, and as new points are plotted, even though I'm
> >> following the above recipe pretty closely, the x-tick spacing isn't
> >> getting sorted out, so I end up with just a jumble as the tick labels
26 matches
Mail list logo