Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: Janis Papanagnou Newsgroups: comp.graphics.apps.gnuplot Subject: Line type defined by data Date: Sat, 15 Aug 2015 02:15:03 +0200 Organization: Aioe.org NNTP Server Lines: 18 Message-ID: NNTP-Posting-Host: 78ZYNjsY3EY+237/nRd16Q.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.graphics.apps.gnuplot:3009 Currently I am splitting my original data (three columns: date, amount, type) into two files (file1, file2) and plot them individually using plot "file1" using 1:2 title 'A' with impulses lt 2 , \ "file2" using 1:2 title 'B' with impulses lt 1 Is it possible to avoid the preprocessing of the original data and directly determine the line type depending on column 3 in the data file, say, like (pseudo syntax) plot "file" using 1:2 title 'A' with impulses lt "some magic" using 3 , \ "file" using 1:2 title 'B' with impulses lt "some magic" using 3 or any other way to avoid splitting of original "file" to "file1", "file2"? Thanks! Janis