Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4357
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jörg Buchholz <bookwood4new@freenet.de> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: plotting 2 files with 2 different datafile separators |
| Date | Sat, 13 Jun 2020 20:59:47 +0200 |
| Organization | A noiseless patient Spider |
| Lines | 40 |
| Message-ID | <rc37n4$gs0$1@dont-email.me> (permalink) |
| References | <alpine.WNT.2.21.999.2006101302220.10568@dhcp3-6> <rbqi5n$eui$1@dont-email.me> <alpine.WNT.2.21.999.2006101536390.10568@dhcp3-6> <rbu0e1$sp3$1@solani.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Sat, 13 Jun 2020 18:59:48 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="fbdf8c5369bb3cc1585ac04ad9301e7a"; logging-data="17280"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XkZrZ/fGNLQACLGYeUl9vMhxsS9GAb9g=" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
| Cancel-Lock | sha1:zJHLWjPQ1blJXWX/iRLAU04clbg= |
| In-Reply-To | <rbu0e1$sp3$1@solani.org> |
| Content-Language | en-GB |
| Xref | csiph.com comp.graphics.apps.gnuplot:4357 |
Show key headers only | View raw
On 11.06.20 21:24, Karl Ratzsch wrote: > Am 10.06.2020 um 15:43 schrieb Jean-Pierre Coulon: >> On Wed, 10 Jun 2020, Jörg Buchholz wrote: >> >>> Here the default "whitespace" works with both separators >>> (Tabulator and >>> Space). >>> >>> set datafile separator whitespace >> >> In my second file I have: set timefmt "%d/%m/%Y %H:%M:%S" and now >> when I plot the second file using 1:2 gnuplot believes the hour >> field is my second column. Same with 1:3. >> >> I know how to workaround with multiplot but I thought it could be >> simpler. > > The timeformat specifier should win against any datafile separator. > At least I was pretty sure it used to. That however doesn´t seem to > be the case both in gp5.3rc1 and 4.6.6. Hmmm .... > > > $dat << EOD > 03/04/2020 14:14:14 654 > 03/04/2020 15:15:15 543 > 03/04/2020 16:16:16 654 > EOD > > #set dataf sep ... > > set xdata time > set timefmt "%d/%m/%Y %H:%M:%S" > plot $dat us (timecolumn(1)):3 w lp ps 3 > Thanks to point this out, this can result in less work. GP 5.0.5 Debian Stretch. Jörg
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
plotting 2 files with 2 different datafile separators Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2020-06-10 13:07 +0200
Re: plotting 2 files with 2 different datafile separators Olaf Schultz <o.schultz@enhydralutris.de> - 2020-06-10 13:55 +0200
Re: plotting 2 files with 2 different datafile separators Jörg Buchholz <bookwood4new@freenet.de> - 2020-06-10 14:03 +0200
Re: plotting 2 files with 2 different datafile separators Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2020-06-10 15:43 +0200
Re: plotting 2 files with 2 different datafile separators Jörg Buchholz <bookwood4new@freenet.de> - 2020-06-11 07:11 +0200
Re: plotting 2 files with 2 different datafile separators Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2020-06-11 08:21 +0200
Re: plotting 2 files with 2 different datafile separators Olaf Schultz <o.schultz@enhydralutris.de> - 2020-06-11 09:18 +0200
Re: plotting 2 files with 2 different datafile separators Jörg Buchholz <bookwood4new@freenet.de> - 2020-06-11 11:37 +0200
Re: plotting 2 files with 2 different datafile separators Karl Ratzsch <mail.kfr@gmx.net> - 2020-06-11 21:24 +0200
Re: plotting 2 files with 2 different datafile separators Jörg Buchholz <bookwood4new@freenet.de> - 2020-06-13 20:59 +0200
csiph-web