Hi John, Have you thought about writing a backend for
matplotlib that would display the plot in the console (no
X)? It could use the linux framebuffer or the SVGALib,
just like Links.
It would make it much more portable.
What do you mean by portable? Both the linux framebuffer and svgalib
are, as far as I know, linux only.*
Sorry, I meant portable in terms of other hardware platforms that run Linux but not X, embedded systems for instance. The situation I had in mind was to run matplotlib in a linux PDA (which are becoming more and more popular). The Sharp Zaurus, for instance, runs a kind of Qt, for which there is no matplotlib backend. All linux systems, big and small, have console interfaces. Although I think it may be possible to install GTK or Wx on a PDA like the Zaurus, It would not be the the best way to go due to limitations of memory and other resources. A console Backend wold not only be lighter and faster, but could go wherever python can go, independently of heavy GUI systems.
Another solution would be a backend for Qt embedded library, but it does need framebuffer as far as I know…
And it’s not only PDAs, matplotlib could run on cellphones, set-top boxes, industrial controlers, etc.
Again it’s just a thought, I am a big fan of Links…
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
Matplotlib-users mailing list
Flávio Codeço Coelho, PhD
Programa de Computação Científica
Fundação Oswaldo Cruz
Rio de Janeiro – Brasil
On Mon, 2004-04-12 at 16:18, John Hunter wrote: