Unix Shell - Re: cool app to generate 2D plots directly to an image file from

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > December 2007 > Re: cool app to generate 2D plots directly to an image file from





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: cool app to generate 2D plots directly to an image file from
Dave

2007-12-30, 7:23 pm

Glenn MacGougan wrote:
> http://plot2d.sourceforge.net
> "
> plot2d -f plot2d_options.txt
> USAGE: Plot2D -h // display help
> USAGE: Plot2D -c <option file name> // create a default options file
> USAGE: Plot2D -f <option file name> // create plot based on this file
> /srv/www/htdocs/upload/result.bmp generated.
> "
> Check it out. It's still in Alpha so it needs design feedback.
>
>
> Does anyone know if there is another way to do this from the shell?
> aside from some crazy way to script using octave and gnuplot.
>
> glenneo


It suffers from GNUism or LINIXism - isfinite is not standard C.


CC -g -Wall -c -o cplot.o ../../../src/cplot.c
CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise
"../../../src/cplot.c", line 3899: Error: The function "isfinite" must
have a prototype.
"../../../src/cplot.c", line 3930: Error: The function "isfinite" must
have a prototype.
2 Error(s) detected.
*** Error code 2
make: Fatal error: Command failed for target `cplot.o'


There are also some unprintable characters in the makefile.
Also,

DEBUG_CFLAGS = -g -Wall


-Wall is not a debug flag.

i.e. not portable.


The above is on a Sun Blade 2000 running Solaris 10.


kestrel /tmp/apps/plot2d/unix % cat /etc/release
Solaris 10 8/07 s10s_u4wos_12b SPARC
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com