Path: csiph.com!news.mixmin.net!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: Plot each points of data file with different colours in GNUPLOT Date: Tue, 20 Nov 2018 18:15:09 +0100 Organization: solani.org Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1542734109 10804 127.0.0.43 (20 Nov 2018 17:15:09 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 20 Nov 2018 17:15:09 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Content-Language: en-GB In-Reply-To: Cancel-Lock: sha1:IVT9WHgqHeuZ4b3P4xrM7TvP3AI= X-User-ID: eJwNycEBwCAIA8CVREig4wDK/iPY+x6UwnYjaBjMuK+47LJ1Qqj5TZYDadpSf7kFujY66qjMAxxSETM= Xref: csiph.com comp.graphics.apps.gnuplot:4076 Am 20.11.2018 um 17:36 schrieb Savin Beniwal: > Hi I'm trying to plot a data file which consists of six rows & three column (labelled 'X', 'Y', and 'sigma_error_Y' ) > Data File--->> > X Y error > I want to plot each point with different colours in Gnuplot with error bars with each point. I'm able to plot it with yerrorbars but it gives me the same colour of each point. That's easy: # so I don't have to create a data file $dat << EOD 0.7780. 0.5661 0.0623 0.7699. 1.0100 0.1111 0.7069. 0.6246 0.0687 0.6525. 0.6681 0.0735 0.5253 0.4946. 0.0544 0.2587 0.2228 0.0245 EOD plot $dat us 1:2:3:0 with yerrorbars lc variable # the line number (column "zero") controls the colour > Please Help me ASAP. this looks slightly impolite. you're looking for free help, remember? ;-)