Path: csiph.com!weretis.net!feeder6.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Karl Ratzsch Newsgroups: comp.graphics.apps.gnuplot Subject: Re: consistency of function .vs. data plotting Date: Mon, 25 Jun 2018 23:55:44 +0200 Organization: solani.org Lines: 11 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1529963754 12896 127.0.0.43 (25 Jun 2018 21:55:54 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Mon, 25 Jun 2018 21:55:54 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 In-Reply-To: X-User-ID: eJwFwYEBwDAEBMCV8F4Zh6T2HyF3RGicz4PhXK5seE1BTWvXDUJvgtmAjN2+uX/m1IXWOXwEtxCl Content-Language: de-DE-1901 Cancel-Lock: sha1:o+IfQXluCwFWmFIs9D0lyEPLdL8= Xref: csiph.com comp.graphics.apps.gnuplot:3976 Am 25.06.2018 um 16:06 schrieb Karl Ratzsch: > > As a workaround, you could do sth like following > > f(x) = ... > plot "+" us 1:(imag(f(x) =0 ? f(x) : NaN) > should of course read plot "+" us 1:(imag(f(x))==0 ? f(x) : NaN)