Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4544
| From | Jörg Buchholz <bookwood4new@freenet.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Plotting multiple datsets |
| Date | 2023-10-26 11:10 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <uhdae5$1g13e$1@dont-email.me> (permalink) |
| References | <dfd79a75-f3a6-4c81-a6e4-d63915f61549n@googlegroups.com> |
On 26.10.2023 10:17, christina aruvickal wrote: > Hi everyone, > > I would like to plot two datasets in one plot. The datasets are > basically energy files obtained from cp2k. > > # I have 0-2300 MD steps in FILE1 and 2000-10000 MD steps in FILE2. # > I would like to plot 0-2300 MD steps from FILE1 and 2301-10000 MD > steps from FILE2. > > I have tried a few things: eg: plot [1:2000] 'filename' u 1:6, > [2001:] 'filename' u 1:6 (where 1 and 6 are the MD step number and > conserved quantity respectively) plot 'File1' u 1:6, 'File2' u ($1 > 2300 ? $1:1/0):6 This plot all data from "File1" and all data from "File2" where col 1 is greater than 2300. Jörg
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
Plotting multiple datsets christina aruvickal <christinaaruvickal@gmail.com> - 2023-10-26 01:17 -0700 Re: Plotting multiple datsets Jörg Buchholz <bookwood4new@freenet.de> - 2023-10-26 11:10 +0200
csiph-web