Path: csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Karl Ratzsch Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Ignore missing data in the desired way Date: Fri, 20 Jan 2017 12:05:34 +0100 Organization: solani.org Lines: 37 Message-ID: References: <4eb939ed-8e0f-45aa-a163-d1714b70536a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1484910333 15246 eJwFwYEBwCAIA7CXxrQtOweU/n/CEiwGjzbBDcMzjZKJCi3A1Yd9k3g9V9ViOvJ7Wtbq3D81FhGp (20 Jan 2017 11:05:33 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Fri, 20 Jan 2017 11:05:33 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 In-Reply-To: <4eb939ed-8e0f-45aa-a163-d1714b70536a@googlegroups.com> Cancel-Lock: sha1:1Kcr0kzYH1QpUN+lp9GNIaducGk= X-User-ID: eJwFwQkBACAIA8BKImxoHPn6R/AOSmG6ETQMpjBprV7h5yGTlXplh03XqehNe3uNwHmXUz83+xFq X-NNTP-Posting-Host: eJwFwQERADEIAzBL8LSFl8ON4V/CEoZcJyEKXO4vn7Wtq6pOa8TCsjVHwY83406KviirAR8UzBCI Xref: csiph.com comp.graphics.apps.gnuplot:3545 Am 20.01.2017 um 10:35 schrieb u.gotzes@gmail.com: > > I can't get the script below to do what I want, namely make gnuplot draw continuous lines between the respective datasets "Yes", "No" and "Maybe". Can anybody help? > (simplified example) set dataf missing '?' $dat << EOD No Maybe 0 2 1 ? 2 1 3 2 4 ? 5 9 6 ? ? 1 8 2 9 5 EOD plot "$dat" using "No":"Maybe" w lp # missing dp are invalid pause -1 plot "$dat" using 1:2 w lp # works There are few connecting lines and no bezier curve, because an invalid datapoint breaks those connections. Aaand you know about that and "set datafile missing '?'", meaning the connections should not be broken. I find that it works if I use column numbers instead of header strings in the "using" specifier. Looks like a bug to me.