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: Plot each points of data file with different colours in GNUPLOT Date: Wed, 21 Nov 2018 09:51:43 +0100 Organization: solani.org Lines: 43 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: solani.org 1542790303 13355 127.0.0.43 (21 Nov 2018 08:51:43 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 21 Nov 2018 08:51:43 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 X-User-ID: eJwFwQkBgAAIA8BKIGxgHPn6R/AORmWHE3QcTiD4dicttU9PK8QG7bnLIDlX21lmTyFf+wEhTRE7 Cancel-Lock: sha1:inAj9opU3FHgYz9aNgefW+8U1dI= Content-Language: de-DE-1901 In-Reply-To: Xref: csiph.com comp.graphics.apps.gnuplot:4083 Am 21.11.2018 um 05:50 schrieb Savin Beniwal: > On Tuesday, November 20, 2018 at 10:45:10 PM UTC+5:30, Karl Ratzsch wrote: >> 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. >> > > THANK YOU, KARL, FOR FREE HELPING. HIGHLY OBLIGED TO YOU.😂 > >> this looks slightly impolite. you're looking for free help, remember? ;-) > > AGAIN THANKS TO CORRECT ME REGARDING GOOD MANNERS. NOTED FOR THE FUTURE. 😊 > Are you trying to be funny? Please don't try again. -- Karl-Friedrich Ratzsch (Dipl.-Chem., Dr. rer. nat.) Institut für Technische Chemie und Polymerchemie Karlsruher Institut für Technologie, Engesserstr. 18, 76131 Karlsruhe Tel.: +49 (0)721/608-48504 Fax: +49 (0)721/608-994004 ratzsch@kit.edu