On Thu, Apr 16, 2009 at 6:27 PM, Robert Bradshaw
<rober...@math.washington.edu> 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 no options (no
>> viewer="tachyon") uses jmol, which means that a certain file type is
>> output.  The notebook then notices that file was created and embeds a
>> java jmol applet configured using that file.
>>
>> Anyway, I'm just hopefully clarifying how things work now.  I'm not
>> actually answering your questions below though.
>> --
>> William Stein
>> Associate Professor of Mathematics
>> University of Washington
>> http://wstein.org
>>
>> ...
>>
>> That's fine, but after one has displayed 3d plots as well as 2d plots
>> the
>> differences are really striking:  the interactive feature of jmol is
>> too good
>> to want to give up for other plots.  The OP mentioned mayavi et al

Just curious, what is OP?

>> and I'd like to add interactive imaging (resp. image processing) using
>> PIL for instance.
>>
>> It would be very nice to be able to display movie clips or real time
>> images
>> during image processing, especially in conjunction with the @interact
>> decorator.  I'm just thinking out loud because everyone who
>> ultimately
>> uses jmol plotting is going to want that kind of interactivity in the
>> notebook
>> for other kinds of output.
>
> I want that too. Anyone have a patch?

I want that too. :) I don't have any patch. Besides jmol doesn't work
for me, so I'll wait for the canvas thing or something else (or maybe
java will become usable till then). I guess in couple years,
interactive 3D stuff will be a common thing in the browser.


> There is talk of a html5 canvas backend for matplotlob, and various
> other 2d plotting options. None have been implemented/integrated yet.

Thanks William for explaining it, I think that answer all my questions
for now. I just implement show with all the options, that's all I
need.

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
code seems to be in misc/interpreter.py, but right now I can't find
the place where this is hooked into ipython. I also didn't find the
hooks in ~/.sage/ipythonrc. I'll search further.

Ondrej

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to