[sage-support] Re: Saving plots (2D and 3D)

2008-04-10 Thread Hector Villafuerte
On Thu, Apr 10, 2008 at 2:09 PM, William Stein <[EMAIL PROTECTED]> wrote: [...] > This is a bug:http://trac.sagemath.org/sage_trac/ticket/2872 > There's currently no easy nice way to script > saving 3d graphics using Tachyon. If you do the following > > > sage: p = point3d([(k,k^2,0) for k

[sage-support] Re: 64 bit sage on Ubuntu

2008-04-10 Thread [EMAIL PROTECTED]
Thanks a lot. Sonmez On Apr 10, 8:35 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Wed, Apr 9, 2008 at 8:25 PM, mabshoff > > <[EMAIL PROTECTED]> wrote: > > >  On Apr 10, 5:00 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > >  > I noticed that Sage does not have a 64 bit Ubuntu install

[sage-support] Re: 64 bit sage on Ubuntu

2008-04-10 Thread [EMAIL PROTECTED]
Just in time... the next Ubuntu LTS release (8.04) is due in two weeks. Kiran On Apr 9, 11:25 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Apr 10, 5:00 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > I noticed that Sage does not have a 64 bit Ubuntu install file. > > Please

[sage-support] Re: 64 bit sage on Ubuntu

2008-04-10 Thread William Stein
On Wed, Apr 9, 2008 at 8:25 PM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Apr 10, 5:00 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > I noticed that Sage does not have a 64 bit Ubuntu install file. > > Please don't drop 64 bit Ubuntu. I'll start one cooking for you. Remind me if

[sage-support] Re: Transverse wave and animate in 3D

2008-04-10 Thread William Stein
On Wed, Apr 9, 2008 at 9:20 PM, Hector Villafuerte <[EMAIL PROTECTED]> wrote: > > Hi, > I was trying to make an animation in SAGE of a transverse wave that > would look something like this: > http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=35.0 > > or even this: > > http://en.wikipedia.

[sage-support] Re: Problem to access C code

2008-04-10 Thread William Stein
On Wed, Apr 9, 2008 at 12:03 AM, Simon King <[EMAIL PROTECTED]> wrote: > > Dear Roger, dear bourba > > > On 9 Apr., 02:40, Roger <[EMAIL PROTECTED]> wrote: > > I have the same problem, I have not tried the SAGE on the console. > > Same for me: The console is fine, but the notebook doesn't work

[sage-support] Re: notebook and javascript question

2008-04-10 Thread William Stein
On Thu, Apr 10, 2008 at 3:55 PM, gerhard <[EMAIL PROTECTED]> wrote: > > > For concreteness could you describe precisely one example where > > you want to call javascript from a Sage calculation? > > > I have hardware with which I collect data > for which I compute statistics based on location

[sage-support] Re: notebook and javascript question

2008-04-10 Thread gerhard
> For concreteness could you describe precisely one example where > you want to call javascript from a Sage calculation? > I have hardware with which I collect data for which I compute statistics based on location. What I would like to do is to initiate a data collection from sage, process data i

[sage-support] Re: Saving plots (2D and 3D)

2008-04-10 Thread William Stein
On Thu, Apr 10, 2008 at 11:42 AM, Hector Villafuerte <[EMAIL PROTECTED]> wrote: > > Hi, > I noticed the following (inconsistent?) behavior: saving 2D plots > works as expected (a graphic file is stored), but saving 3D plots > gives .sobj files instead (see sample code below). Is there a way to

[sage-support] debug/help

2008-04-10 Thread Krishnan
I am very new to sage (please bear with me!) I am unable to get a solution - there is a solution!) var ('x1 x2 P') A1 = 16.59158 B1 = 3643.31 C1 = 33.424 A2 = 14.25326 B2 = 2665.54 C2 = 53.424 T = 318.15 P1S = exp(A1 - B1/(T - C1)) P2S = exp(A2 - B2/(T - C2)) y1 = 0.25 y2 = 0.75 A = 2.771 - 0.00

[sage-support] Saving plots (2D and 3D)

2008-04-10 Thread Hector Villafuerte
Hi, I noticed the following (inconsistent?) behavior: saving 2D plots works as expected (a graphic file is stored), but saving 3D plots gives .sobj files instead (see sample code below). Is there a way to save 3D plots from the Notebook? By the way, I know how to save them using jMol's GUI (as rea

[sage-support] Re: fft from matlab

2008-04-10 Thread Joshua Kantor
This should work for you sage: import numpy sage: a=numpy.loadtxt('my_file.txt') sage: x_vals=a[:,1] sage: y_vals=a[:,2] note that now x_vals and y_vals are numpy arrays. At this point you have a few ways of of doing the ftt Option 1 sage: from numpy import fft sage: fft.fft(x_xvals) sage: fft.

[sage-support] Re: fft from matlab

2008-04-10 Thread Nicoo
simple txt file with columns first column is the time, second the X velocity value, third the Y velocity value and I want to fft each components of velocity to get the frequency of oscillations. (sry for my bad english) On 10 avr, 18:16, "William Stein" <[EMAIL PROTECTED]> wrote: > On Thu, Apr 10

[sage-support] Re: fft from matlab

2008-04-10 Thread William Stein
On Thu, Apr 10, 2008 at 9:15 AM, Nicoo <[EMAIL PROTECTED]> wrote: > > thx, I will try the fft() method, other question, how can I load my > datas in a vector ? What format are your datas in? -- William > > On 10 avr, 17:40, "William Stein" <[EMAIL PROTECTED]> wrote: > > > > On Thu, Apr 10,

[sage-support] Re: fft from matlab

2008-04-10 Thread Nicoo
thx, I will try the fft() method, other question, how can I load my datas in a vector ? On 10 avr, 17:40, "William Stein" <[EMAIL PROTECTED]> wrote: > On Thu, Apr 10, 2008 at 8:26 AM, Nicoo <[EMAIL PROTECTED]> wrote: > > Hello there, > > -I used matlab to fft some datas, I have .m file from mat

[sage-support] Re: fft from matlab

2008-04-10 Thread William Stein
On Thu, Apr 10, 2008 at 8:26 AM, Nicoo <[EMAIL PROTECTED]> wrote: > Hello there, > -I used matlab to fft some datas, I have .m file from matlab, is it > possible to load it in sagemath and use it ? No, the Sage programming language is Python, which is as different from Matlab's language as Mat

[sage-support] fft from matlab

2008-04-10 Thread Nicoo
Hello there, -I used matlab to fft some datas, I have .m file from matlab, is it possible to load it in sagemath and use it ? ~Nicoo --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email

[sage-support] Re: Opening URL from notebook

2008-04-10 Thread William Stein
On Thu, Apr 10, 2008 at 7:41 AM, shahab <[EMAIL PROTECTED]> wrote: > > Sorry after I read my post later this morning, it sounded a bit > strange to me. > The code I placed opens up a webbrowser on the Server side, I do not > know how to write one that opens up a new browser window on the clien

[sage-support] Re: Opening URL from notebook

2008-04-10 Thread shahab
Sorry after I read my post later this morning, it sounded a bit strange to me. The code I placed opens up a webbrowser on the Server side, I do not know how to write one that opens up a new browser window on the client side. Any ideas would be greatly appreciated. Thx Shahab On Apr 10, 2:02 am

[sage-support] Re: texmacs

2008-04-10 Thread chu-ching huang
I don't understand what you mean. If you want to stop the Sage-session only, just press the "close session". This will stop "tm-sage" and still remain in TeXmacs. Best wishes, cch On Apr 9, 10:02 am, iSAGE <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to texmacs and almost new to sage. So this

[sage-support] Re: Problem to access C code

2008-04-10 Thread bourba
On 9 avr, 02:40, Roger <[EMAIL PROTECTED]> wrote: > I have the same problem, I have not tried the SAGE on the console. > I also want to do the same. Have you managed to solve the problem? > > Thanks > > Roger, > > On Apr 3, 4:15 am, bourba <[EMAIL PROTECTED]> wrote: > > > On 31 mar, 00:15, bourb

[sage-support] Opening URL from notebook

2008-04-10 Thread shahab
Does anyone know how to open a URL from within the SAGE notebook so that it would end up opening the client Firefox tab rather than the one on the server. This would be the code: import urllib, webbrowser url = "http://somesite.org"; webbrowser.open_new_tab(url) Thanks Shahab --~--~