[sage-devel] Re: plotting in the notebook

2009-04-16 Thread Nick Alexander
>> Actually one more question --- if I run the terminal, e.g. ipython, >> then you have your own hook in ipython (executed after each command) >> which checks which files were generated (in ~/.sage/temp) and does >> the right thing (e.g. calling jmol or some viewer for the image?). >> The >> co

[sage-devel] Re: plotting in the notebook

2009-04-16 Thread William Stein
On Thu, Apr 16, 2009 at 7:51 PM, Ondrej Certik wrote: > > On Thu, Apr 16, 2009 at 6:27 PM, Robert Bradshaw > wrote: >> >> On Apr 16, 2009, at 6:14 PM, J Elaych wrote: >> >>> >>> For 3d plots it's really very similar, but of course they aren't >>> always png's.  Calling show with viewer="tachyon"

[sage-devel] Re: plotting in the notebook

2009-04-16 Thread mabshoff
On Apr 16, 7:51 pm, Ondrej Certik wrote: > Just curious, what is OP? Original poster. > Actually one more question --- if I run the terminal, e.g. ipython, > then you have your own hook in ipython (executed after each command) > which checks which files were generated (in ~/.sage/temp)  

[sage-devel] Re: plotting in the notebook

2009-04-16 Thread Ondrej Certik
On Thu, Apr 16, 2009 at 6:27 PM, Robert Bradshaw wrote: > > On Apr 16, 2009, at 6:14 PM, J Elaych wrote: > >> >> For 3d plots it's really very similar, but of course they aren't >> always png's.  Calling show with viewer="tachyon" just renders a png, >> and we're in the above case.  Calling show

[sage-devel] Re: plotting in the notebook

2009-04-16 Thread J Elaych
On Apr 16, 6:27 pm, Robert Bradshaw wrote: > On Apr 16, 2009, at 6:14 PM, J Elaych wrote: > > > > > > > For 3d plots it's really very similar, but of course they aren't > > always png's.  Calling show with viewer="tachyon" just renders a png, > > and we're in the above case.  Calling show with

[sage-devel] Re: plotting in the notebook

2009-04-16 Thread Robert Bradshaw
On Apr 16, 2009, at 6:14 PM, J Elaych wrote: > > For 3d plots it's really very similar, but of course they aren't > always png's. Calling show with viewer="tachyon" just renders a png, > and we're in the above case. Calling show with no options (no > viewer="tachyon") uses jmol, which means tha

[sage-devel] Re: plotting in the notebook

2009-04-16 Thread J Elaych
For 3d plots it's really very similar, but of course they aren't always png's. Calling show with viewer="tachyon" just renders a png, and we're in the above case. Calling show with no options (no viewer="tachyon") uses jmol, which means that a certain file type is output. The notebook then noti

[sage-devel] Re: plotting in the notebook

2009-04-16 Thread Robert Bradshaw
On Apr 16, 2009, at 3:50 PM, William Stein wrote: > 2009/4/16 Ondrej Certik : >> >> Hi, >> >> the notebook (sagelite) can work with Graphics primitives in Sage, >> that's very nice. >> >> I would like to make sympy (and other packages) to be able to easily >> work with the plotting. One way to do

[sage-devel] Re: plotting in the notebook

2009-04-16 Thread William Stein
2009/4/16 Ondrej Certik : > > Hi, > > the notebook (sagelite) can work with Graphics primitives in Sage, > that's very nice. > > I would like to make sympy (and other packages) to be able to easily > work with the plotting. One way to do plotting is to use matplotlib > (or anything else) and drop