|
From: Tammo H. <Pu...@Ta...> - 2005-08-30 16:23:25
|
Since columns 1-5 contain the same data in each colums, their
content is not really intersting to plot. If you want to plot colums 6-
10 use the following syntax:
plot 'gnu_apache2.file' using x:y
where you replace x with the respective column number you want
to have ploted in the x-axis, and replace y with the respective
column number you want to have ploted on the y-axis, for example
to plot column 9 vs 6 use
plot 'gnu_apache2.file' using 6:9
I hope this helps,
Tammo
On 30 Aug 2005 at 9:25, foren titze wrote:
Am Montag, 29. August 2005 15:34 schrieb Hans-Bernhard Broeker:
> foren titze wrote:
> > The below lines are an example of a so called gnuplotfile that was an
> > output from the apache2 webserver testprogramm "ab". its not possibe
> > for me to take this file as input for gnuplot, because gnuplot give
> > me errors by importing.
>
> You're using rather strange terms to explain what you're trying to do.
> gnuplot doesn't "import" data files --- it's a command-driven program,
> and some of the commands are given the name of a data file that they
> will read and display immediately, according to the settings made
> before. You really have to read the documentation to be able to work
> with gnuplot.
>
> > starttime seconds ctime dtime ttime wait
> > Thu Aug 25 13:06:40 2005 1124968000006645 1 57
> > 58 1 Thu Aug 25 13:06:40 2005 1124968000006770 1
> > 101 102 1
>
> [...]
>
> This should be easy enough to plot.
>
> set timefmt '%B %d %H:%M:%S %Y'
> set format x
> plot 'data' using 2:9
I used your commands but get an error again:
gnuplot> plot 'gnu_apache2.file' using 2:9
^
no data point found in specified file
Its a little bit complicated to use gnuplot, or?
ben
>
> will plot the ttime as a function of starttime. For more see 'help'
> about each of the commands used here.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gnuplot-info mailing list
Gnu...@li...
https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|