I'm not sure its what you mean, but Sage can already change the size of Jmol applets if the graphics object (call it G) is wrapped with show(G, figsize = [3,3]) for example.
-Marshall On Nov 13, 8:04 am, Jonathan <[email protected]> wrote: > Some things related to this. > > 1) The Jmol application already has the ability to make customizable > web pages, that would not depend on the SAGE server, but just a plain > vanilla web server. To use this facility you would just need to > download the file that contains the information for the vector field. > There may be some issues with hard coded paths in scripts the way SAGE > presently uses Jmol. I'm looking into that (slowly). > > 2) This week I finally got a chance to start working through how Jmol > is used in the notebook. I am working on adding captioning, limiting > the number of Jmols on a page (so as not to run out of memory), and > allowing the user to change the size of the Jmol applet. The place > I'm having trouble is with the use of the cell_writer to tell Jmol > where to act. Can anybody point me to all the places where > cell_writer is defined and modified? Normally, when writing Jmol > pages I access where I want Jmol to act using div ids. > > I'm working very slowly, because I'm doing this in little bits of > time. That said, if anybody has other things they want please let me > know. > > Jonathan > part of the Jmol Development Team > > On Nov 12, 4:38 pm, Rob Beezer <[email protected]> wrote: > > > On Nov 12, 8:16 am, mhampton <[email protected]> wrote:> It would be nice > > if this could be automated in some way, with some > > > sort of "export to html page" command, analogous to the "Get Image" > > > command currently supported. > > > Marshall, > > > Very nice! I sent these to a couple of colleagues, and one wrote back > > to suggest that it would be nice to have the plots captioned (I > > realize that's part of your exercise). But if the automated > > production include a "caption" keyword, or a whole pile of explanatory > > text, that'd be a nice addition. I'll add this to the ticket as a > > suggestion. > > > Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en -~----------~----~----~----~------~----~------~--~---
