[sage-support] Re: Debian Etch: Error trying to plot

2008-07-11 Thread Carl Witty
On Jul 10, 4:40 pm, Alejandro Jakubi <[EMAIL PROTECTED]> wrote: > So, I was happy and issued a plot command in the console interface: > > sage: show(plot(cos,-5,5)) > > I have got the plot displayed a window for the file tmp_1.png plus > error messages about a missing font: > > === > numerix numpy

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-10 Thread Alejandro Jakubi
It was not from a package. These afm fonts were loaded by hand. Not sure yet whether it was following some instructions for a specific program, or just for "completeness". I see now that adding these fonts is not so innocent... So, I have removed from this directory (/usr/local/share/fonts/afm)

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-10 Thread Alejandro Jakubi
Carl, Found the culprit. Thank you. > sage: import matplotlib > sage: matplotlib.verbose.set_level('debug') > sage: import matplotlib.font_manager I did this. > Look at the file specified in the last createFontDict line (for > instance, open it with a text editor; it's a simple text file) and

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-10 Thread Carl Witty
On Jul 7, 11:46 pm, Alejandro Jakubi <[EMAIL PROTECTED]> wrote: ... > /usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/lib/python2.5/ > site-packages/matplotlib/axis.py in () >      18 from transforms import Value, blend_xy_sep_transform,\ >      19      translation_transform, bbox_all, id

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-09 Thread Alejandro Jakubi
So, which is the problem? Do you need some more information? Alejandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at ht

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
> Hmm... could you paste the whole traceback? Here it is: --- ValueErrorTraceback (most recent call last) /home/jakubi/.sage/ in () /usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/l

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Robert Bradshaw
On Jul 7, 2008, at 1:59 PM, Alejandro Jakubi wrote: > On Jul 7, 4:25 pm, Simon King <[EMAIL PROTECTED]> wrote: >> Is there any problem up to this point? Probably not. > > Yes, all these examples, and much more give the same error message. Hmm... could you paste the whole traceback? - Robert -

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
Also works this Maxima 2D plot (including zoom): maxima.plot2d('cos(2*x) + 2*cos(x)','[x,0,1]',\ '[plot_format,openmath]') from http://localhost:8000/doc/live/tut/node26.html --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.c

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
On the other hand, 3D plots as here: u, v = var('u,v') fx = u*v fy = u fz = v^2 show(parametric_plot3d([fx, fy, fz], (u, -1, 1), (v, -1, 1), frame=False, color="yellow")) work fine. I understand that this is through a different mechanism (a Java viewer), but it suggest to me that most of the ins

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
Hello, On Jul 7, 6:06 pm, "Mike Hansen" <[EMAIL PROTECTED]> wrote: > In order to figure things out, I think we need to know a bit more > about your install. How did you install Sage? As said in my first post, I have unpacked the binary distribution of Sage 3.0.2 for Debian, ie sage-3.0.2-debia

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
I have posted my reply over an hour ago, but it does not appear in the web interface to this group. So, it goes again: > In order to figure things out, I think we need to know a bit more > about your install. How did you install Sage? Did you use one of the As said in my first post, I have unp

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Mike Hansen
Hello, In order to figure things out, I think we need to know a bit more about your install. How did you install Sage? Did you use one of the binaries or did you build from source? What processor is your computer running? --Mike On Mon, Jul 7, 2008 at 3:59 PM, Alejandro Jakubi <[EMAIL PROTEC

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
On Jul 7, 4:25 pm, Simon King <[EMAIL PROTECTED]> wrote: > Is there any problem up to this point? Probably not. Yes, all these examples, and much more give the same error message. > > p = polygon(L, rgbcolor=(1,1,0)) > > L is not defined yet, and by consequence one gets "NameError: name 'L' > is

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Simon King
Dear Alejandro, On Jul 7, 7:50 pm, Alejandro Jakubi <[EMAIL PROTECTED]> wrote: > Anyway, examples (taken from the documentation): > > show(plot(cos,-5,5)) > > G=plot(cos, -5, 5) > G > > G=plot(cos, -5, 5) > show(G) > > G=plot(cos, -5, 5) > G.show() Is there any problem up to this point? Probably

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
> Could you give us the specific command you're trying to execute? This error message apparently occurs independently of the plot command that I have tried to execute or interface (console or notebook). So, it seems to me a more basic problem. Anyway, examples (taken from the documentation): sh

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Robert Bradshaw
On Jul 7, 2008, at 12:38 AM, Alejandro Jakubi wrote: > > First experience with Sage. I have unpacked the binary distribution of > Sage 3.0.2 for Debian. Console and notebook mode apparently work fine, > but when trying to plot I get a long list of error messages: > > === > ValueError