[sage-support] Re: Accent marks in the Notebook

2008-12-09 Thread acardh
This works html(r'Donde $\Sigma$ es la sumatoria de los números... etc.' ) but only works the first time. If you save & quit your work, after trying again it fails. This is because when saving it converts "números" to "números". On Dec 9, 2:16 pm, acard

[sage-support] Accent marks in the Notebook

2008-12-09 Thread acardh
The accent marks is a problem in Notebook. I am writing some texts in Spanish but the accent marks are not being displayed on the output. By example: Tenemos un número que nos define... etc. The output should be: Tenemos un número que nos define... etc. I also tried this other way: html(Donde

[sage-support] Re: LaTeX problem

2008-12-09 Thread acardh
This did the trick. Thanks :o) On Dec 8, 11:37 pm, pong <[EMAIL PROTECTED]> wrote: > This may work for you > > html(r'\tan^{-1} x') or simply html(r'$\tan^ > {-1} x$') > > the r before ' stands for "raw string". > > On Dec 8, 9:55

[sage-support] LaTeX problem

2008-12-08 Thread acardh
I am working in the Sage Notebook, I can reproduce the Taylor Series example as is. The LaTeX works fine there. I took the next line from the Sage reference book, from the Latex printing support section: \tan^{-1} x The problem is that when I put it in the Notebook cell I get an error: SyntaxE

[sage-support] Re: parametric_plot3d with imaginary numbers

2008-12-03 Thread acardh
; (I*v+q*2*I*pi/5))), (u,0,2), (v,0,2*pi), opacity = .5, rgbcolor = > (0,1,0), frame = False) for q in range(5)]) > show(p15) > > which I think is pretty close to the mathematica plot except it > includes the entire surface by default. > > Hope that helps, > M. Hampton > &

[sage-support] parametric_plot3d with imaginary numbers

2008-12-02 Thread acardh
Hi, I am not sure why I am not getting the same 3D image than the one at the bottom of the next page: http://reference.wolfram.com/mathematica/ref/ParametricPlot3D.html I am using these commands: u, v = var('u,v') parametric_plot3d((u*cos(v),u*sin(v),imaginary(u*exp((I*v)^5)^(1/5))), (u,0,2), (v

[sage-support] Re: Drawing points on a sphere

2008-11-24 Thread acardh
code call Jmol only when I put it directly on the Sage command line ( sage: ) When I load the file with: sage: load "Plot_cities.sage" Jmol never shows up :o( Antonio On Nov 12, 2:54 pm, acardh <[EMAIL PROTECTED]> wrote: > I change the sequence of dots to size=2 and now

[sage-support] Re: Drawing points on a sphere

2008-11-12 Thread acardh
I change the sequence of dots to size=2 and now the line looks better. world + sum([point3d(v, color='red') for v in city_coords]) + sum ([point3d(v, size=2, color='green') for v in mydots]) The parametric_plot3d command seems a better way to do this but I am not sure yet how to use it. I am wor

[sage-support] Re: Drawing points on a sphere

2008-11-11 Thread acardh
t it didn't work. I would prefer to draw the line in 2D and keep the points for the cities in 3D. Thanks On Nov 10, 3:44 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > On Nov 10, 2008, at 12:57 PM, acardh wrote: > > > One more question about this. How can I draw a line be

[sage-support] Re: Drawing points on a sphere

2008-11-10 Thread acardh
g geocoordinates too. Thanks On Nov 9, 8:53 pm, acardh <[EMAIL PROTECTED]> wrote: > Thanks Robert, it's exactly what I needed. It was so easy for you, I > guess. > > :o) > > On Nov 9, 12:28 am, Robert Bradshaw <[EMAIL PROTECTED]> > wrote: > > > On N

[sage-support] Re: Drawing points on a sphere

2008-11-09 Thread acardh
Thanks Robert, it's exactly what I needed. It was so easy for you, I guess. :o) On Nov 9, 12:28 am, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > On Nov 8, 2008, at 7:52 PM, acardh wrote: > > > Hi, > > Plotting an sphere is straightforward but I need help in how to

[sage-support] Drawing points on a sphere

2008-11-08 Thread acardh
Hi, Plotting an sphere is straightforward but I need help in how to draw points on the sphere. The sphere will represent the Earth and the points will be some geo-coordinates . Thanks!!! --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googl

[sage-support] Explanatory example: Taylor Series

2008-07-06 Thread acardh
In the SAGE Wiki is one good example about Taylor Series: http://wiki.sagemath.org/interact I am using Sage version 3.0.3 I wonder how I can reproduce that graph shown in that page of the link. I do copy/paste the code to my sage command line and after hitting return I have some lines of HTML code