Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Select language:
English
French
German
Hungarian
Italian
Norwegian
News:
Home
Help
Search
Calendar
Members
View the memberlist
Search For Members
Login
Register
OESF Portables Forum
»
Everything Else
»
Archived Forums
»
Zaurus General Forums
»
General Support and Discussion
»
Software
»
gnuplot / graph plotter
← previous
next →
Print
Pages: [
1
]
Author
Topic: gnuplot / graph plotter (Read 4574 times)
Anonymous
Guest
gnuplot / graph plotter
«
on:
February 03, 2004, 04:15:06 am »
Helllo Folks,
Thinking of buying a Sharp SL-5500( running linux) . Just want to check that you can run gnuplot , if not is there alternative package! Is this possible?
Thanks
Bill
Logged
lardman
Hero Member
Posts: 4512
gnuplot / graph plotter
«
Reply #1 on:
February 03, 2004, 05:50:59 am »
Yes you can (
http://www.geocities.com/john.cabrer/zaurus/
).
Either X output (assuming you install some kind of X system - QtopiaX [http://sgp.zaurii.net/howtos/index.html#X] or the new QtX [link on the devnet too]), or you can just do png output (file is somewhere under sgp.zaurii.net, I\'ll have a look for it) and view it using an image viewer (there was a script for this too - on the devnet of course).
Si
Logged
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva
Anonymous
Guest
gnuplot / graph plotter
«
Reply #2 on:
February 03, 2004, 08:37:47 am »
Thanks you lardman for the information and the reply
Bill
Logged
lardman
Hero Member
Posts: 4512
gnuplot / graph plotter
«
Reply #3 on:
February 03, 2004, 09:46:46 am »
Looking at my reply I\'m not sure why you\'re thanking me it\'s bloody confusing even for me.
Anyway the point is you can do X and various image format outputs, however you can\'t output straight to a Qt Window. I thought about writing a Qt terminal a long time ago but it got put on the back burner - especially as using a script to view a png which gnuplot creates is just as good for me (I only ever use gnuplot through octave).
Hopefully that is a little clearer. Once you get your Z I\'m quite happy to talk you through setting it all up (gnuplot + X or gnuplot + script) if you need help.
Si
Logged
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva
doseas
Full Member
Posts: 207
gnuplot / graph plotter
«
Reply #4 on:
February 03, 2004, 08:02:28 pm »
To add to what lardman said:
I use gnuplot all the time on my Z... I have various Perl scripts that I\'ve written to massage & graph several different data files. To create a .png file, it is as easy as issuing two commands in gnuplot:
set terminal png
set output output_filename
Afterwards, I spawn zimager to display the .png file.
Logged
Anonymous
Guest
gnuplot / graph plotter
«
Reply #5 on:
February 03, 2004, 09:31:46 pm »
How is gnuplot installed from a .tar.gz file?
I downloaded gnuplot from
http://www.geocities.com/john.cabrer/zaurus/
and I copied the file to the su directory. I unpacked with gunzip gnu|tar xv and this installed gnuplot in /usr/local/bin. When I type gnuplot I get an error: \"libpng.so.2: cannot load shared object file: No such File or Directory\".
Do I need additional libraries? Or did I not install it correctly? If so, where can I find them? I have not loaded X11 and I intend to use gnuplot without X11 and spawn zimager as pointed out by doseas.
Thanks in advance for any help!
-Ro
Logged
lardman
Hero Member
Posts: 4512
gnuplot / graph plotter
«
Reply #6 on:
February 04, 2004, 08:10:40 am »
First of all which ROM are you using?
Take a look in /lib and /usr/lib and see whether you have either a libpng.so.3 or a libpng12.so.0 file, if you have either create a symlink like so to point libpng.so.2 in the right direction:
# ln -s libpng.so.3 libpng.so.2
(which is what I use)
or
# ln -s libpng12.so.0 libpng.so.2
Then try running again. You may next come up against the X libs problem. If so try my non X version of gnuplot instead:
http://sgp.zaurii.net/binaries/gnuplot-3.7..._arm_noX.tar.gz
Si
Logged
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva
Anonymous
Guest
gnuplot / graph plotter
«
Reply #7 on:
February 04, 2004, 11:08:08 am »
Si, thanks for the reply!
I am using the lastest Qtopia Cacko ROM on a recently purchased SL-C860. I looked in /lib and /usr/lib but there is no libpng.*.* at all. Can this missing lib be downloaded? Or does the Cacko ROM put it somewhere else?
-Ro
Logged
lardman
Hero Member
Posts: 4512
gnuplot / graph plotter
«
Reply #8 on:
February 04, 2004, 11:28:42 am »
I\'d be very surprised if it didn\'t have some form of libpng. Try running \'ipkg list\' and see whether it\'s in the list somewhere. Actually it might be built into libqt-something-or-other but I\'m not sure, anyone?
You should be able to download it from somewhere if you need to. Is there a Qt-Cacko feed somewhere?
If the worst comes to the worst you should be able to grab it from one of the openzaurus feeds (though you\'ll have to un-ar and then tar-gzip it for you to be able to install it), but as I said I\'d be very surprised if you don\'t already have libpng there somewhere.
Do you have an image viewer program? Or Opera installed? If yes to either of those, try opening a png image then you\'ll know that it is there somewhere.
Si
Logged
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva
kris_tz
Newbie
Posts: 12
gnuplot / graph plotter
«
Reply #9 on:
February 04, 2004, 12:35:11 pm »
On my C760 I use the libpng is build into libqte to make GAIM work.
So you can try someting like this:
ln -s /home/QtPalmtop/lib/libqte.so.2.3.2 /usr/lib/libpng.so.2
(use:
find / -name libqte*
to find where are installed the libqte libs)
Logged
Anonymous
Guest
gnuplot / graph plotter
«
Reply #10 on:
February 04, 2004, 01:51:12 pm »
I used the symbolic link to libqte.so.2.3.2 and it works! Now I can use Gnuplot from my Zaurus! Thanks for your help si and kris_tz!
I usually setup defaults (such as terminal=\'png\' and output=\'temp.png\') in a .gnuplot or wgnuplot.ini file. Is there a similar setup file for gnuplot on a zaurus? I did a \'find\' and found neither.
-Ro
Logged
doseas
Full Member
Posts: 207
gnuplot / graph plotter
«
Reply #11 on:
February 04, 2004, 03:36:26 pm »
Ro,
I download my copy of gnuplot from the same place as you. I haven\'t tried a .gnuplot file, but running strings on the binary, I see \".gnuplot\" there, so I\'d bet that it will work. No occurances of wgnuplot.ini however.
-David
Logged
lardman
Hero Member
Posts: 4512
gnuplot / graph plotter
«
Reply #12 on:
February 04, 2004, 07:10:53 pm »
Yep, the default (.gnuplot I think - it\'s been a while) works as advertised on other Linux systems.
Si
Logged
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva
lardman
Hero Member
Posts: 4512
gnuplot / graph plotter
«
Reply #13 on:
May 06, 2004, 04:22:16 pm »
http://www.mneuroth.de/privat/zaurus/gnuplot.html
For those who might be interested gnuplot which displays in Qtopia.
Si
Logged
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva
Print
Pages: [
1
]
← previous
next →
OESF Portables Forum
»
Everything Else
»
Archived Forums
»
Zaurus General Forums
»
General Support and Discussion
»
Software
»
gnuplot / graph plotter