ooking at that to see what it's doing. It may not be passing the
> source file along to the compiler.
>
> Mike
>
> David Trethewey wrote:
>> I am trying to compile matplotlib on Solaris, I have run into
>> problems as below compiling the ft2fonts extension. Anyone
-I/usr/local/include -I.
-I/usr/include/python2.4 -c src/ft2font.cpp -o
build/temp.solaris-2.10-sun4u-2.4/src/ft2font.o
cc: No input file specified, no output generated
error: command '/usr/lib/python2.4/pycc' failed with exit status 1
--
David Trethewey
Institute of Astronomy
htt
Got it working using tkAgg by recompiling matplotlib from source.
David
On Jan 21 2009, David Trethewey wrote:
>I have switched between python2.5 and 2.6, so maybe I've messed up the
>installation somehow, and it's not looking for things in the right
>directories.
>
>
I have switched between python2.5 and 2.6, so maybe I've messed up the
installation somehow, and it's not looking for things in the right
directories.
I fiddled around with the versions of cairo and pycairo, and got them to
match but still got errors:
>>> import gtk
Traceback (most recent call la
from gtk import _gtk
File "/usr/lib64/python2.6/site-packages/cairo/__init__.py", line 1,
in
from _cairo import *
ImportError: /usr/lib64/python2.6/site-packages/cairo/_cairo.so:
undefined symbol: cairo_ps_surface_set_eps
>
> Mike
>
> David Trethewey wrote
Although I have python-gtk installed I still get this error message when
importing pylab. I'm not sure why. Can anyone enlighten me?
>>> from pylab import *
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib64/python2.6/site-packages/pylab.py", line 1, in
from matplotl
Managed to solve the problem now.
David
David Trethewey wrote:
> I think I realised what I was doing wrong, I didn't have the imshow()
> call beforehand in my program:
>
> But using the code:
>
> cax = fig.add_axes([0.85, 0.1, 0.075, 0.8])
> a=oute
t a set of axes from 0 to 10 in the x direction and 0 to 100 in
y.How do I get rid of the x axis and scale the y axis from 0 to 1.
David
David Trethewey wrote:
> I've been trying to add a colorbar to my figure and have used the
> following code;
>
> cax = axes([0.85, 0.1,
I've been trying to add a colorbar to my figure and have used the
following code;
cax = axes([0.85, 0.1, 0.075, 0.8])
colorbar(cax=cax)
as a template (from
http://matplotlib.sourceforge.net/examples/pylab_examples/subplots_adjust.html)
However I get an error:
Traceback (most recent call last)
I've had problems trying to read shapefiles using the matplotlib basemap
toolkit
I can import the shapelib module without error but when I try to read a
shapefile this happens:
Traceback (most recent call last):
File "C:\Documents and Settings\David\Desktop\cornwall\try_4828.py",
line 44, in
How do you install the high and full resolution coastline datasets? I've
tried simply downloading them from the internet from
http://www.soest.hawaii.edu/wessel/gshhs/gshhs.html and copying them
into the basemap data directory but this didn't work.
David
---
11 matches
Mail list logo