Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is it possible to use Image as a Graphics object?

I can use PIL.Image or sage.repl.image in Sagemath. Can I mix bitmap (non-vector) images with Sagemath Graphics objects (such as circle, text, plot, list_plot, etc)?

For example, if I have 3 bitmap images A, B, C and 4 plots P, Q, R, S, how can I use graphics_array to display them as tiles in 2 rows and 3 columns?

       A     P      C+Q
       R     B       S

where C+Q means adding bitmap images and graphics to the same Graphics object (for example: superimpose list_plot and text on a background PNG image)

Is it possible to use Image as a Graphics object?

I can use PIL.Image or sage.repl.image in Sagemath. Can I mix bitmap (non-vector) images with Sagemath Graphics objects (such as circle, text, plot, list_plot, etc)?

For example, if I have 3 bitmap images A, B, C and 4 plots P, Q, R, S, how can I use graphics_array to display them as tiles in 2 rows and 3 columns?

       A     P      C+Q
       R     B       S

where C+Q means adding bitmap images and graphics to the same Graphics object (for example: superimpose list_plot and text on a background PNG image)