|
From: M. F. <mfr...@vi...> - 2001-04-25 19:18:01
|
I am trying to use the plplot package add dynamic plots of ballistic
data on a webpage. To do this I need to write plots to png files from a
:"C" cgi program. I have done this using the gd library. Now I wanted to
add axis tick marks and the like using the plplot lib. I started by
modifing the x01c.c program by adding
/* Initialize plplot */
plsdev("png");
plsfnam("tst.png");
plinit();
When I run it it returned the following error
[root@search plplot-5.0.3]# tmp/x01c | more
Plplot library version: 5.0.3
Requested device png not available
I ran configure as
sh configure --enable-png
to make sure prior to make.
What else do I need to do to plot to png files. Also is it possible to
send the png output to stdout rather than a file?
Thanks.
Martin
|