Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4524
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2023-06-06 01:25 -0700 |
| Message-ID | <43b043b7-847f-4cd7-8665-65bc3a7bbc94n@googlegroups.com> (permalink) |
| Subject | plotting text |
| From | Jan Schmidt <jan.schmidt70@gmail.com> |
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
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
plotting text Jan Schmidt <jan.schmidt70@gmail.com> - 2023-06-06 01:25 -0700 Re: plotting text Jörg Buchholz <bookwood4new@freenet.de> - 2023-06-07 08:18 +0200
csiph-web