1846637 Members
1376 Online
110256 Solutions
New Discussion

Re: gnuplot problem

 
Tom Jackson
Valued Contributor

gnuplot problem

Hi:

I have aJ6000 running HP-UX 11i. I want to install gnuplot so I can migrate a web application to the machine. I installed zlib from http://hpux.cs.utah.edu/hppd/hpux/X11/Graphics/libpng-1.2.4/ and libpng from http://hpux.cs.utah.edu/hppd/hpux/Misc/zlib-1.1.4/. Then I copied /usr/local/lib/libz* to /opt/zlib/lib and /usr/local/lib/libpng* /opt/libpng/lib.

This got gnuplot to launch, but now I can't run the gp scripts that generate the graphics. The scripts originally did a "set terminal gif small" but that caused gnuplot to fail with the error "unknown or ambiguous terminal type; type just 'set terminal' for a list"

So, I changed "set terminal gif small" to "set terminal png". Now I get the error:
"libpng warning: Application was compiled with png.h from libpng-1.0.6
libpng warning: Application is running with png.c from libpng-1.2.4
libpng error: Incompatible libpng version in application and library"

Harry, if your out there, HELP!

?Tom?
2 REPLIES 2
Tom Jackson
Valued Contributor

Re: gnuplot problem

Hi:

Well, gnuplot works, but it doesn't do what I want. It's choking on the "set terminal" command. Doesn't like "png" or "gif". I understand why it doesn't like "gif" since the gnuplot wasn't compiled with gp. However, why doesn't it like "png"? The library error described in my first note sheds some light, but how do I fix it?

Let's backup a bit. What I need is a graphical file format that is web compatible. I'm generating several 2d graphs for dynamic web page reports. Are there other formats other than gif, jpg and png that are netscape and ie browser compatible?

I was able to generate an hpgl file. png is listed when I do a set terminal with nothing specified; but as mentioned earlier - it doesn't work. There is no gif or jpg terminal.

These are all my clues.

Please heeeeeeeeeeeeeeelp.

Tom
Tom Jackson
Valued Contributor

Re: gnuplot problem

One more thing...

Are there any other graphic generators that are free$$ and generate browser compatible 2d graphics?

I'm going home for the day. I'll check back at 06:00 AM Friday morning.

Tom