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


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

Plotting multiple datsets

X-Received by 2002:a37:ad16:0:b0:76d:567a:42f0 with SMTP id f22-20020a37ad16000000b0076d567a42f0mr44879qkm.3.1698308242558; Thu, 26 Oct 2023 01:17:22 -0700 (PDT)
X-Received by 2002:a05:6870:818f:b0:1e9:aa5d:9072 with SMTP id k15-20020a056870818f00b001e9aa5d9072mr8401543oae.8.1698308242284; Thu, 26 Oct 2023 01:17:22 -0700 (PDT)
Path csiph.com!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Thu, 26 Oct 2023 01:17:21 -0700 (PDT)
Injection-Info google-groups.googlegroups.com; posting-host=134.147.140.120; posting-account=xGxOzwoAAABeIJmJjpb5Rq79rhMa61NG
NNTP-Posting-Host 134.147.140.120
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <dfd79a75-f3a6-4c81-a6e4-d63915f61549n@googlegroups.com> (permalink)
Subject Plotting multiple datsets
From christina aruvickal <christinaaruvickal@gmail.com>
Injection-Date Thu, 26 Oct 2023 08:17:22 +0000
Content-Type text/plain; charset="UTF-8"
Lines 17
Xref csiph.com comp.graphics.apps.gnuplot:4543

Show key headers only | View raw


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)

But can't get the plot I need. This seems quite simple, and I think I just
haven't worked with Gnuplot long enough to get this done. 


Any help with this is much appreciated. 

Regards, 
Christina

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


Thread

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