1752796 Members
6148 Online
108789 Solutions
New Discussion юеВ

Re: gnuplot problem

 
Dodo_5
Frequent Advisor

gnuplot problem

I am running perl script from windows.So I am using
system("wgnuplot");
then it's invoking the wgnuplot exe .but I want to plot the graph with a input file as an argument.
How to use that input file with wgnuplot cvommant.I have tried with
system("wgnuplot $inputfile");
But the script is terminating.

Can you help me out?
3 REPLIES 3
Oviwan
Honored Contributor

Re: gnuplot problem

Hey

I have no experience with gnuplot but have you already read the documentation or the FAQ? http://www.gnuplot.info/faq/faq.html

Hope this helps

Regards
Dodo_5
Frequent Advisor

Re: gnuplot problem

thanks for your response...but actually I want to invoke my 'sar' output file to gnuplot to plot the graph.

Can anyone give any other option for that?
Randy C.
Valued Contributor

Re: gnuplot problem

I have no experience with gnuplot, but I found this article:

http://open.itworld.com/5040/nls_unixsar021024/page_1.html

Here is a quote from the article:

"If you want to display sar data in graph form, you will probably do one of two things: 1) download the data into an Excel or other brand of spreadsheet and graph it from there, or 2) use gnuplot. In this column, we're going to examine a simple Perl script for plotting CPU usage through gnuplot. This script can be modified to look at other data if you care to invest the time."

Hope this helps. -Randy

Please consider assigning point to helpful answers.
How? http://forums1.itrc.hp.com/service/forums/helptips.do?#33