I made some progress on Octave plots:
https://sagecell.sagemath.org/?z=eJwrLk0qyMkvUdAw0lEwBCJNXq4KBVsFXUMDKwM9QytDA2teLoiCCh2F4sw8IK2pCRSryElMSs1R0FCqUAJxK2FcqBKwYElmSU4qUCw4M7cAyDDSdVEIABoFlitGtddIEyRUlKZRkJqYXawJAHaSKBI=&lang=octave

(the warning message should go away in a few hours). Here is the logic:
1) turn off visibility of the current figure before any Octave cell code
2) if the current figure has any children, save the output to octave.png in 
the end of cell code
3) if octave.png is detected, show it rather than link

As the example above demonstrates, it allows you to use subplots. Multiple 
plots from the same cell or different output format is unlikely to work, 
but on the one hand it may not be too necessary in practice and on the 
other hand - let me know if you have a better solution!

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/49dffd4e-23fa-40ad-95c6-f0cb73bda6ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to