Re: gnuplot: plotting each point in different color

2008-03-28 Thread H.S.
Florian Kulzer wrote: > > That is indeed fine for three columns or ten, maybe twenty; my point was > that it scales badly to, say, 1000 columns. There are of course other > ways around this, like generating 1000 plot commands with your favorite > scripting language and feeding them to gnuplot, or

Re: gnuplot: plotting each point in different color

2008-03-28 Thread Florian Kulzer
On Thu, Mar 27, 2008 at 21:56:10 -0400, H.S. wrote: > Florian Kulzer wrote: > >> One more thing worth mentioning is that the subroutine trick can also be >> used to loop over the columns of a dataset (using the "column" command), >> for example if you have a data file with one common x-axis and 100

Re: gnuplot: plotting each point in different color

2008-03-28 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 H.S. wrote on 2008-03-27 23:31: > Well, I had already read that portion (in the online documentation > though). But from gnuplot's documentation it appears that one should > have read *all* the relevant documentation also to understand any > portion of

Re: gnuplot: plotting each point in different color

2008-03-27 Thread H.S.
Florian Kulzer wrote: One more thing worth mentioning is that the subroutine trick can also be used to loop over the columns of a dataset (using the "column" command), for example if you have a data file with one common x-axis and 100 y-datasets (columns) that you want plot in the same graph. (O

Re: gnuplot: plotting each point in different color

2008-03-27 Thread Kamaraju S Kusumanchi
H.S. wrote: > Florian Kulzer wrote: > >> >> The gnuplot list is no match for the vast and mysterious powers of >> debian-user... > > How true! This is actually a very insightful observation. I have at > times wondered why that list or newsgroup is so low traffic. Perhaps it > is due to lack of

Re: gnuplot: plotting each point in different color

2008-03-27 Thread Florian Kulzer
On Thu, Mar 27, 2008 at 18:45:21 -0400, H.S. wrote: > Florian Kulzer wrote: [...] >> For a small number of colors something like this is may be acceptable: >> >> # START >> unset key >> set xrange [0:1] >> set yrange [0:1] >> set multiplot >> plot "3cols.dat" using ($1):($3==1 ? $2 : 1/0) lt 1 >>

Re: gnuplot: plotting each point in different color

2008-03-27 Thread Kamaraju S Kusumanchi
H.S. wrote: > Now, usually, I would not avoid RTFM. And it is quite common for the > experienced users in the Linux community to make the assumption that the > other person is lazy and wants to be *always* spoon fed (BTW, it is > thankfully uncommon in this list, to be fair). Oh, it used to be th

Re: gnuplot: plotting each point in different color

2008-03-27 Thread H.S.
Florian Kulzer wrote: The gnuplot list is no match for the vast and mysterious powers of debian-user... How true! This is actually a very insightful observation. I have at times wondered why that list or newsgroup is so low traffic. Perhaps it is due to lack of helpful people over there. Ad

Re: gnuplot: plotting each point in different color

2008-03-27 Thread H.S.
Johannes Wiedersich wrote: I did: set palette splot '3cols.dat' us 1:2:3 w p palette I don't know if that's what you want? Thanks, that worked. The knowledgeable soul told you to read the manual. Yes, I know. The usual 'RTFM'. Well, maybe I should put a few words here. First, he sugge

Re: gnuplot: plotting each point in different color

2008-03-27 Thread Florian Kulzer
On Thu, Mar 27, 2008 at 15:52:58 -0400, H.S. wrote: > Hi, > > I have tried Gnuplot mailing list and the newsgroup but didn't get the > help I was looking for. So here my try there. > > Given a data file: > # 3cols.dat # > 0.28460.1857 1 > 0.82830.1330 2 >

Re: gnuplot: plotting each point in different color

2008-03-27 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 H.S. wrote: > Hi, > > I have tried Gnuplot mailing list and the newsgroup but didn't get the > help I was looking for. So here my try there. > > Given a data file: > # 3cols.dat # > 0.28460.1857 1 > 0.82830.1330

gnuplot: plotting each point in different color

2008-03-27 Thread H.S.
Hi, I have tried Gnuplot mailing list and the newsgroup but didn't get the help I was looking for. So here my try there. Given a data file: # 3cols.dat # 0.28460.1857 1 0.82830.1330 2 0.33060.8348 3 0.79610.7968 4