We help IT Professionals succeed at work.

Drawing graph with bargraph.pl script

Atouray
Atouray used Ask the Experts™
on
I am currently trying to use your script to draw a graph but I am getting this error. Can you please assist me on telling me what exactly am i doing wrong.

http://www.burningcutlery.com/derek/bargraph/
 perl bargraph.pl -gnuplot -fig -png scenario1.perf
sh: fig2dev: not found
convert: no decode delegate for this image format `/tmp/magick-XXpiZBkY' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `-' @ error/convert.c/ConvertImageCommand/2970.

I have attached the perf file that I am using to generating the graph.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
It doesn't seem to be an issue with the data but rather with the way you call the script.
It's trying to call a program called fig2dev that it can not locate.
Do you have that program?

Author

Commented:
Thanks, that what I was missing.

Commented:
Glad I was able to help.

Happy Perl'ing!