Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2697
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ethan A Merritt <EAMerritt@gmail.com> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: smooth bezier |
| Date | Sun, 11 Jan 2015 09:54:56 -0800 |
| Organization | A noiseless patient Spider |
| Lines | 26 |
| Message-ID | <m8udcm$9mg$1@dont-email.me> (permalink) |
| References | <a9683578-095a-4922-8bf9-0e8164316032@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| Injection-Date | Sun, 11 Jan 2015 17:54:31 +0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="7bbfccb08e3cb0f92ebf95516f5f5a81"; logging-data="9936"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WOMaUKZcIq8dIdLvoPhl+" |
| User-Agent | KNode/4.12.5 |
| Cancel-Lock | sha1:kGgHEQ92TtFeKiRfPtaA+nJkTEU= |
| Xref | csiph.com comp.graphics.apps.gnuplot:2697 |
Show key headers only | View raw
Ulrich Mosel wrote: > I run gnuplot 5.0 on Windows 7. > > I have a datafile with columns with 1000 lines. I want to gnuplot the > 2nd column vs. the first and smooth the curve: > > plot "data.dat" u 1 : 2 t "total bez" smooth bezier > > The result looks overall reasonable, BUT: The problem is that this > produces 3 straight line segments at small values of the x-axis; the > higher values are smoothed out allright. > > I experimented with this problem: by cutting the file to have less > lines in it the plot becomes smooth also at lower x. Is there a > limitation on the number of points that gnuplot smooth bezier can > handle? There is no limit, although in practice you might run out of memory if there are millions of points. I do not know exactly what you are seeing, but perhaps the problem is not the number of data points but the number of Bezier nodes? This is controlled by "set sample". Try set sample 1000
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar | Unroll thread
smooth bezier Ulrich Mosel <ulrich.mosel@gmail.com> - 2015-01-11 07:52 -0800 Re: smooth bezier Ethan A Merritt <EAMerritt@gmail.com> - 2015-01-11 09:54 -0800
csiph-web