I would be interested in learning other ways to do this, but here is
one way.   You can include arbitrary html with the html command.  So
for example, to show a picture of a steam engine from wikipedia you
could do:

html('<img src="http://upload.wikimedia.org/wikipedia/commons/9/9e/
Maquina_vapor_Watt_ETSIIM.jpg">')

inside a sage cell.

I had some trouble doing this with local files but I'm sure it can be
done - this is not my forte.

Cheers,
Marshall Hampton

On Mar 25, 6:48 am, DuaneKaufman <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have looked through the documentation for the Sage notebook, but I
> couldn't find any information on how to embed arbitrary images in a
> notebook.
>
> Let's say I have a calculation I want to illustrate, and I would like
> a pictorial representation of the physical system (indicating lengths,
> angles, etc) I can create this image in an outside utility, but how do
> I get it into a Sage notebook, so that when, perhaps another person,
> at another computer views it, the picture is there to illustrate the
> problem?
>
> Thanks,
> Duane
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to