Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-30-2007, 03:00 AM
|
#1
|
Member
Registered: Jul 2004
Distribution: Custom Linux, Buildroot, Busybox, Fedora, Raspberry Pi
Posts: 151
Rep:
|
Looking for SMALL program to create graphs
I'm looking for a program to generate graphs for a web server application in an embedded linux environment.
I don't have a lot of memory free. The whole system is only 32Mb, and my complete file-system must be less than 8Mb
I've looked at a few possibilities, e.g. perl and gnuplot, but they need so much other stuff. Can anyone recommend anything ?
|
|
|
06-30-2007, 04:28 AM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Wouldn't it work better to supply the data used to produce the graphs. Maybe the data could exported in the form of xml documents.
|
|
|
06-30-2007, 05:07 AM
|
#3
|
Member
Registered: Jul 2004
Distribution: Custom Linux, Buildroot, Busybox, Fedora, Raspberry Pi
Posts: 151
Original Poster
Rep:
|
Hmmm, maybe. Problem is, I don't know anything about XML. Maybe this is the time to find out.
|
|
|
06-30-2007, 11:43 AM
|
#5
|
Member
Registered: Jul 2004
Distribution: Custom Linux, Buildroot, Busybox, Fedora, Raspberry Pi
Posts: 151
Original Poster
Rep:
|
Nice idea. Graphics look impressive, trouble is the FAQ says it's 15 to 50Mb. I don't have anywhere near that amount of capacity
|
|
|
07-01-2007, 12:07 AM
|
#6
|
Member
Registered: Apr 2005
Location: Timaru, New Zealand
Distribution: Garuda - wrestling with xmonad at chewing-gum & barb-wire level
Posts: 105
Rep:
|
I used to use "Mathplot" when we ran with Mandriva - cannot recall the size off hand but it is a nice wee package that works beautifully.
Phidor.
|
|
|
07-01-2007, 06:18 AM
|
#7
|
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847
Rep:
|
You could probably hack the psxy source code so it would compile on its own without all the dependencies (specifically netCDF which I think it quite large), and that would allow you to plot simple xy scatter/line plots. On its own, psxy shouldn't be too big...
But, it could be a lot of work!
|
|
|
07-01-2007, 07:49 AM
|
#8
|
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495
Rep:
|
Maybe you just want a library that can generate images in PNG or similar format, with primitives for line drawing and labelling. Then you can just wrap it up inside your own C code.
How about Ilib. The source is just a 131Kb download.
There is also a list of competing libraries on the site.
|
|
|
All times are GMT -5. The time now is 12:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|