Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2134
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2013-10-10 13:53 -0700 |
| References | (3 earlier) <d5939053-13a4-4741-9ab3-df9a6b9b73f3@googlegroups.com> <2abb3c8a-38c8-4b15-a28d-166a06293a72@googlegroups.com> <l35lg6$1qc$1@news.rz.uni-karlsruhe.de> <2121c7cf-e691-48c2-bd54-1ada50f3372f@googlegroups.com> <2d8e079f-e709-4122-ad24-90dd67b6c153@googlegroups.com> |
| Message-ID | <91d8095a-5a86-48ca-97be-b3b79d22232d@googlegroups.com> (permalink) |
| Subject | Re: graph from the string/numeric column. |
| From | thesunshine99@gmail.com |
On Thursday, October 10, 2013 3:33:49 PM UTC-5, thesun...@gmail.com wrote: > On Thursday, October 10, 2013 2:41:10 PM UTC-5, thesun...@gmail.com wrote: > > > On Thursday, October 10, 2013 2:37:47 AM UTC-5, Karl wrote: > > > > > > > Am 09.10.2013 18:26, schrieb thesunshine99@gmail.com: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > plot for [COL=2:10] '/tmp/_pp' using COL > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > (Why the histogram?) > > > > > > > > > > > > > > > > > > > > > > > > > > > > You can use the line numbers as abscissa values, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > plot for [COL=2:10] "" using 0:COL:xticlab(1) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Karl > > > > > > > > > > > > Its perfect Karl. I appreciate your help. There wasn't any reason for the histogram. I couldn't figure out which type of the graph to use so I stumbled on the histogram. > > > > > > > > > > > > cat << EOF | /usr/local/bin/gnuplot > > > > > > set terminal postscript eps enhanced color > > > > > > set output "/tmp/abc.ps" > > > > > > set autoscale > > > > > > set grid > > > > > > set title "Usage" > > > > > > set xlabel "Numbers" > > > > > > set ylabel "GB" > > > > > > set yr [0:] > > > > > > set key off > > > > > > set xr [-1:] > > > > > > set xtics nomirror rotate by -90 font ",16" > > > > > > plot for [COL=2:$maxnoofcol] '/tmp/p' using 0:COL:xticlab(1) lw 5 > > > > > > > > > > > > EOF > > > > Now if I have to change the data a bit. I have added two more columns with date in it. X axis should be date. Y axis should be the col2 ( as size) and line inside the graph should represent the each server with different color with legends. > > > > > > server1 35000 105 09-26-13 > > server1 35000 105 09-27-13 > > server1 35000 280 09-28-13 > > server1 35000 280 09-29-13 > > server1 35000 280 09-30-13 > > server1 35000 280 10-01-13 > > server1 35000 280 10-02-13 > > server1 35000 280 10-03-13 > > server1 35000 280 10-04-13 > > server1 35000 420 10-05-13 > > server1 35000 420 10-06-13 > > server1 35000 420 10-07-13 > > server1 35000 420 10-08-13 > > server1 35000 420 10-09-13 > > server1 35000 420 10-10-13 > > server2 49000 0 09-26-13 > > server2 49000 0 09-27-13 > > server2 49000 0 09-28-13 > > server2 49000 0 09-29-13 > > server2 49000 0 09-30-13 > > server2 49000 0 10-01-13 > > server2 49000 0 10-02-13 > > server2 49000 0 10-03-13 > > server2 49000 0 10-04-13 > > server2 49000 0 10-05-13 > > server2 49000 0 10-06-13 > > server2 49000 0 10-07-13 > > server2 49000 0 10-08-13 > > server2 49000 0 10-09-13 > > server2 49000 0 10-10-13 > > server3 49000 1372 09-26-13 > > server3 49000 1372 09-27-13 > > server3 49000 1372 09-28-13 > > server3 49000 1372 09-29-13 > > server3 49000 1372 09-30-13 > > server3 49000 1372 10-01-13 > > server3 49000 1372 10-02-13 > > server3 49000 1372 10-03-13 > > server3 49000 1372 10-04-13 > > server3 49000 1372 10-05-13 > > server3 49000 1372 10-06-13 > > server3 49000 8967 10-08-13 > > server3 49000 8967 10-09-13 > > server3 49000 8967 10-10-13 > > server3 49000 9016 10-07-13 > > server4 49000 0 09-26-13 > > server4 49000 0 09-27-13 > > server4 49000 0 09-28-13 > > server4 49000 0 09-29-13 > > server4 49000 0 09-30-13 > > server4 49000 0 10-01-13 > > server4 49000 0 10-02-13 > > server4 49000 0 10-03-13 > > server4 49000 0 10-04-13 > > server4 49000 0 10-05-13 col3 represent the varying degree of the data points in the graphs which should be in the line format with different color represent each server. S
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
graph from the string/numeric column. thesunshine99@gmail.com - 2013-10-08 13:42 -0700
Re: graph from the string/numeric column. Karl <mail.kfr@gmx.net> - 2013-10-09 10:24 +0200
Re: graph from the string/numeric column. thesunshine99@gmail.com - 2013-10-09 07:27 -0700
Re: graph from the string/numeric column. thesunshine99@gmail.com - 2013-10-09 08:25 -0700
Re: graph from the string/numeric column. thesunshine99@gmail.com - 2013-10-09 09:26 -0700
Re: graph from the string/numeric column. Karl <mail.kfr@gmx.net> - 2013-10-10 09:37 +0200
Re: graph from the string/numeric column. thesunshine99@gmail.com - 2013-10-10 12:41 -0700
Re: graph from the string/numeric column. thesunshine99@gmail.com - 2013-10-10 13:33 -0700
Re: graph from the string/numeric column. thesunshine99@gmail.com - 2013-10-10 13:53 -0700
Re: graph from the string/numeric column. Karl <mail.kfr@gmx.net> - 2013-10-11 10:41 +0200
Re: graph from the string/numeric column. thesunshine99@gmail.com - 2013-10-11 08:12 -0700
Re: graph from the string/numeric column. thesunshine99@gmail.com - 2013-10-11 13:22 -0700
Re: graph from the string/numeric column. Karl <mail.kfr@gmx.net> - 2013-10-14 14:39 +0200
Re: graph from the string/numeric column. thesunshine99@gmail.com - 2013-10-14 10:07 -0700
Re: graph from the string/numeric column. Karl <mail.kfr@gmx.net> - 2013-10-16 18:59 +0200
Re: graph from the string/numeric column. thesunshine99@gmail.com - 2013-10-16 21:42 -0700
Re: graph from the string/numeric column. Karl <ratzsch@polymer.uka.de> - 2013-10-20 09:48 +0200
Re: graph from the string/numeric column. sfeam <sfeam@users.sourceforge.net> - 2013-10-20 12:08 -0700
Re: graph from the string/numeric column. thesunshine99@gmail.com - 2013-10-21 11:02 -0700
csiph-web