Hi,

Has anyone here tried playing around with the SIXEL graphics format
for Sage plots before?  SIXEL [1] is a graphics format that was
supported by VT300 terminals for displaying images in the terminal,
and many terminal emulators support it.  For example, gnuplot has long
been able to display plots in SIXEL format (see attached screenshot),
and I've used in the past for displaying images in the terminal (there
are programs that can convert existing images to SIXEL and cat them).

I just wonder if anyone's found a workaround for this to work in Sage,
rather than have plots pop up in a separate image viewer.

ISTM if nothing else, this could be done in a hackish way by taking
images output by Sage, pass them through a SIXEL converter, and then
print the SIXEL data.  I haven't tried fully integrating this, but
simply print()ing a SIXEL image from Python works from the Sage REPL,
at least on my terminal.

Surely I'm not the only one who's tried this?

Erik

[1] https://en.wikipedia.org/wiki/Sixel

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to