LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 06-30-2007, 02:00 AM   #1
Mike Davies
Member
 
Registered: Jul 2004
Distribution: Custom Linux, Buildroot, Busybox, Fedora, Raspberry Pi
Posts: 144

Rep: Reputation: 15
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 ?
 
Old 06-30-2007, 03:28 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
Old 06-30-2007, 04:07 AM   #3
Mike Davies
Member
 
Registered: Jul 2004
Distribution: Custom Linux, Buildroot, Busybox, Fedora, Raspberry Pi
Posts: 144

Original Poster
Rep: Reputation: 15
Hmmm, maybe. Problem is, I don't know anything about XML. Maybe this is the time to find out.
 
Old 06-30-2007, 04:28 AM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
You might want to look at GMT (generic mapping tools) which has a function called psxy which can produce very customisable postscript images of graphs. I don't think it has many dependencies (netCDF is the main one I think), and is entirely command line driven, so overheads are reduced. If you need help on using it, give me a shout as I use GMT every day at work!

http://gmt.soest.hawaii.edu/

To download it, get it from one of these mirrors (version 4 is the latest):

ftp://life.csu.edu.au/pub/gmt
ftp://ftp.geologi.uio.no/pub/gmt
ftp://ftp.scc.u-tokai.ac.jp/pub/gmt
ftp://falcon.grdl.noaa.gov/pub/gmt
ftp://ftp.iag.usp.br/pub/gmt
ftp://gd.tuwien.ac.at/pub/gmt
ftp://ftp.iris.washington.edu/pub/gmt
ftp://ftp.soest.hawaii.edu/gmt
 
Old 06-30-2007, 10:43 AM   #5
Mike Davies
Member
 
Registered: Jul 2004
Distribution: Custom Linux, Buildroot, Busybox, Fedora, Raspberry Pi
Posts: 144

Original Poster
Rep: Reputation: 15
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
 
Old 06-30-2007, 11:07 PM   #6
phidor
Member
 
Registered: Apr 2005
Location: Timaru, New Zealand
Distribution: Manjaro
Posts: 105

Rep: Reputation: 15
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.
 
Old 07-01-2007, 05:18 AM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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!
 
Old 07-01-2007, 06:49 AM   #8
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create, for a video, a picture with a gallery of small screenshots ? Sabinou Linux - Software 6 06-24-2007 03:12 PM
LXer: Create high-quality Web graphs in minutes with Plotr LXer Syndicated Linux News 0 05-14-2007 07:16 AM
How to create astlinux-like small distro? Newbie question garby Linux From Scratch 3 01-01-2007 03:33 PM
OpenOffice Macro to create 3D graphs nx5000 Programming 1 04-10-2006 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration