X-Received: by 2002:a05:620a:468e:b0:75b:2c31:8f79 with SMTP id bq14-20020a05620a468e00b0075b2c318f79mr449105qkb.7.1686039935742; Tue, 06 Jun 2023 01:25:35 -0700 (PDT) X-Received: by 2002:a05:6902:1149:b0:bad:e8b:17d4 with SMTP id p9-20020a056902114900b00bad0e8b17d4mr423518ybu.7.1686039935469; Tue, 06 Jun 2023 01:25:35 -0700 (PDT) Path: csiph.com!weretis.net!feeder8.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Tue, 6 Jun 2023 01:25:35 -0700 (PDT) Injection-Info: google-groups.googlegroups.com; posting-host=212.185.50.243; posting-account=rJgb_goAAADJCb4ByDWrxKz-3OzMN_ob NNTP-Posting-Host: 212.185.50.243 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <43b043b7-847f-4cd7-8665-65bc3a7bbc94n@googlegroups.com> Subject: plotting text From: Jan Schmidt Injection-Date: Tue, 06 Jun 2023 08:25:35 +0000 Content-Type: text/plain; charset="UTF-8" Xref: csiph.com comp.graphics.apps.gnuplot:4524 Hi, is there a way to plot a datafile with text and replace the text with numbers? i.e. the datafile looks like 1684746646.005043 open standby 0.3 1684746646.045847 closed standby 0.2 and I want a line chart where I can see the movement from "open" to "closed" as a jump. plot "datafile" u 1:2 replace("open",1), replace("closed",2) w l, "datafile" u 1:4 w l