X-Received: by 10.42.240.66 with SMTP id kz2mr9613061icb.27.1381527864936; Fri, 11 Oct 2013 14:44:24 -0700 (PDT) X-Received: by 10.50.87.71 with SMTP id v7mr167885igz.11.1381527864871; Fri, 11 Oct 2013 14:44:24 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!a6no11337757qak.0!news-out.google.com!9ni29857qaf.0!nntp.google.com!a6no11337753qak.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Fri, 11 Oct 2013 14:44:24 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.36.146.54; posting-account=Ja8fsAoAAABMTKY5cTcErQ2bhO4vZp5U NNTP-Posting-Host: 70.36.146.54 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Counting multiple data lines From: Bret Foreman Injection-Date: Fri, 11 Oct 2013 21:44:24 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: csiph.com comp.graphics.apps.gnuplot:2140 I'm testing a communication channel where I vary 2 parameters, call them X = and Y. I include the values of X and Y in the message and I send N messages= for each pair of X and Y. Each message either passes through the channel o= r does not - there are no partial messages. At a given pair of values for X= and Y I get N or fewer (or no) successful messages. My output file consists of rows of successfully received messages with the = message data consisting of the values for X and Y. I'd like to create a 3D = plot that shows the number of successful messages for each value of X and Y= . For example, I might have this: 2,3 2,3 2,3 3,3 3,3 3,3 3,3 In this case I want to plot two points, one at (2,3,3) and one at (3,3,4) w= here the z value is a count of the number of identical lines. I don't have to worry about non-contiguous sets of identical lines because = my source data never does that. Can anyone suggest a good way to implement this in gnuplot? Thanks, Bret