Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3009

Line type defined by data

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail
From Janis Papanagnou <janis_papanagnou@hotmail.com>
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 <mqm0a7$bql$1@speranza.aioe.org> (permalink)
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

Show key headers only | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

Line type defined by data Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-15 02:15 +0200
  Re: Line type defined by data Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2015-08-15 12:40 +0200
    Re: Line type defined by data Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-15 13:03 +0200
      Re: Line type defined by data Ethan A Merritt <EAMerritt@gmail.com> - 2015-08-15 10:54 -0700
        Re: Line type defined by data Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-15 23:43 +0200
          Re: Line type defined by data Ethan A Merritt <EAMerritt@gmail.com> - 2015-08-15 20:32 -0700
            Re: Line type defined by data Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-16 14:28 +0200
              Re: Line type defined by data Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-16 15:45 +0200
                Re: Line type defined by data Karl-Friedrich Ratzsch <mail.kfr@gmx.net> - 2015-08-16 17:12 +0200
                Re: Line type defined by data Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-17 16:06 +0200

csiph-web