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


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

Re: Calculate the minimum and maximum data with 'Gnuplot'

X-Received by 2002:a05:660c:18a:: with SMTP id v10mr4095195itj.10.1539333551870; Fri, 12 Oct 2018 01:39:11 -0700 (PDT)
X-Received by 2002:a9d:3d06:: with SMTP id a6mr481otc.0.1539333551746; Fri, 12 Oct 2018 01:39:11 -0700 (PDT)
Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!x98-v6no33556ita.0!news-out.google.com!n199-v6ni54itn.0!nntp.google.com!z5-v6no33185ite.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Fri, 12 Oct 2018 01:39:11 -0700 (PDT)
In-Reply-To <56e9537e-a224-4e59-97bd-311640c7d7f5@l28g2000prd.googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=130.83.194.151; posting-account=NgES0AoAAAABfXvYwpDIx0yvgimYDt13
NNTP-Posting-Host 130.83.194.151
References <56e9537e-a224-4e59-97bd-311640c7d7f5@l28g2000prd.googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <158f74be-e3c6-425f-908c-74dc8b1669da@googlegroups.com> (permalink)
Subject Re: Calculate the minimum and maximum data with 'Gnuplot'
From wenxu9042@gmail.com
Injection-Date Fri, 12 Oct 2018 08:39:11 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Lines 47
Xref csiph.com comp.graphics.apps.gnuplot:4049

Show key headers only | View raw


在 2008年5月20日星期二 UTC+2下午10:04:57,D.GH写道:
> Hello,
> 
> I would like if is possible to calculate the maximum and minimum from
> a data file.
> 
> My data in the following file (MyData.dat)
> 
> 22.871536
> 22.029848
> 18.641526
> 11.097671
> 10.769791
> 14.375998
> 9.353067
> 16.888065
> 10.120260
> 11.920241
> 14.518588
> 26.042677
> 9.516011
> 16.486201
> 23.851848
> 10.483301
> 
> I do not know neither the maximum nor the maximum.
> If I could calculate them with 'Gnuplot', it will help me with the
> following code:
> #############################
> Min= .......
> Max= .......
> NumberBin=10
> Shift=(Max-Min)/NumberBin
> bin(x) = Min + Shift * int((x - Min) / Shift)
> set style fill solid .2 border -8
> plot 'MyData.dat' u (bin($1)):(1.0) title '' smooth frequency with
> boxes
> set term postscript eps color
> set out 'Myfig.eps'
> set size 0.7, 0.7
> replot
> #############################
> 
> Thank you for your ideas
> 
> Dariush

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


Thread

Re: Calculate the minimum and maximum data with 'Gnuplot' wenxu9042@gmail.com - 2018-10-12 01:39 -0700
  Re: Calculate the minimum and maximum data with 'Gnuplot' Chris Elvidge <chris@mshome.net> - 2018-10-12 11:38 +0100

csiph-web