Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4050
| Path | csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Chris Elvidge <chris@mshome.net> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Calculate the minimum and maximum data with 'Gnuplot' |
| Date | Fri, 12 Oct 2018 11:38:02 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 56 |
| Message-ID | <ppptid$4m2$1@dont-email.me> (permalink) |
| References | <56e9537e-a224-4e59-97bd-311640c7d7f5@l28g2000prd.googlegroups.com> <158f74be-e3c6-425f-908c-74dc8b1669da@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Fri, 12 Oct 2018 10:38:05 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="a4b2c085996b0d901c63995f2ad22f11"; logging-data="4802"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19nV+/kypNBkvzzHUEL2hPhO7s6EHg69vg=" |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
| Cancel-Lock | sha1:HFWCfX6khAFX48A//BKJZmHrmOU= |
| In-Reply-To | <158f74be-e3c6-425f-908c-74dc8b1669da@googlegroups.com> |
| Content-Language | en-GB |
| Xref | csiph.com comp.graphics.apps.gnuplot:4050 |
Show key headers only | View raw
On 12/10/2018 09:39, wenxu9042@gmail.com wrote: > 在 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 > Use "stats" on datafile to get max and min values -- Chris Elvidge, England
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
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