Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3975
| X-Received | by 2002:a6b:6d19:: with SMTP id a25-v6mr5470148iod.16.1529941385380; Mon, 25 Jun 2018 08:43:05 -0700 (PDT) |
|---|---|
| X-Received | by 2002:aca:5f05:: with SMTP id t5-v6mr474358oib.2.1529941385246; Mon, 25 Jun 2018 08:43:05 -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!d7-v6no4079550itj.0!news-out.google.com!z3-v6ni4456iti.0!nntp.google.com!d7-v6no4079546itj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.graphics.apps.gnuplot |
| Date | Mon, 25 Jun 2018 08:43:05 -0700 (PDT) |
| In-Reply-To | <a7122b88-09e6-4e90-a094-09d175c8b66b@googlegroups.com> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=95.91.210.128; posting-account=dOCFDgoAAADjxX1_Z07BOmxhzKhUF2Q5 |
| NNTP-Posting-Host | 95.91.210.128 |
| References | <a7122b88-09e6-4e90-a094-09d175c8b66b@googlegroups.com> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <3ed0480d-dd03-40ed-adec-e94ff6d8bdfb@googlegroups.com> (permalink) |
| Subject | Re: consistency of function .vs. data plotting |
| From | palme@kapott.org |
| Injection-Date | Mon, 25 Jun 2018 15:43:05 +0000 |
| Content-Type | text/plain; charset="UTF-8" |
| Lines | 35 |
| Xref | csiph.com comp.graphics.apps.gnuplot:3975 |
Show key headers only | View raw
Thanks! -stefan- On Tuesday, 19 June 2018 18:41:20 UTC+2, pa...@kapott.org wrote: > Hi all, > > I am quite new to gnuplot, so maybe I am just not knowing some basics. > > My understanding of the documentation is that something like "plot f(x)" is equivalent to "plot '+' using 1:(f($1))". > > Of course the former uses "set style function" as default plotting style, and the latter "set style data", but that's not my point... > > My issue is that if f(x)=asin(x) the result is different: plotting the pure function does NOT plot points for the complex results in the range outside [-1,1]. > > But the approach using the pseudo data file plots also points for the complex results outside the [-1,1] range. > > See yourself: > print "using pure function" > plot asin(x) > pause -1 "press enter" > print "using pseudo data file" > plot '+' using 1:(asin($1)) with lines > pause -1 "press enter" > > So I have two questions: > > 1) Where exactly is my misunderstanding of the documentation, regarding the way how data file plotting works in comparison to plotting pure functions? > > 2) How can I avoid these complex results to be plotted with the second approach? > > Thanks and regards > -stefan-
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
consistency of function .vs. data plotting palme@kapott.org - 2018-06-19 09:41 -0700
Re: consistency of function .vs. data plotting Karl Ratzsch <mail.kfr@gmx.net> - 2018-06-25 16:06 +0200
Re: consistency of function .vs. data plotting Karl Ratzsch <mail.kfr@gmx.net> - 2018-06-25 23:55 +0200
Re: consistency of function .vs. data plotting palme@kapott.org - 2018-06-25 08:43 -0700
csiph-web