Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4078

Re: Plot each points of data file with different colours in GNUPLOT

Newsgroups comp.graphics.apps.gnuplot
Date 2018-11-20 20:50 -0800
References <a37cf32f-9966-45cc-944f-77e59e49951e@googlegroups.com> <pt1fet$ahk$1@solani.org>
Message-ID <b2e1ce25-1752-40b0-8f35-19a0c33cfa45@googlegroups.com> (permalink)
Subject Re: Plot each points of data file with different colours in GNUPLOT
From Savin Beniwal <darshanbeniwal11@gmail.com>

Show all headers | View raw


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. 😊

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Plot each points of data file with different colours in GNUPLOT Savin Beniwal <darshanbeniwal11@gmail.com> - 2018-11-20 08:36 -0800
  Re: Plot each points of data file with different colours in GNUPLOT Karl Ratzsch <mail.kfr@gmx.net> - 2018-11-20 18:15 +0100
    Re: Plot each points of data file with different colours in GNUPLOT Savin Beniwal <darshanbeniwal11@gmail.com> - 2018-11-20 20:50 -0800
      Re: Plot each points of data file with different colours in GNUPLOT Karl Ratzsch <mail.kfr@gmx.net> - 2018-11-21 09:51 +0100
        Re: Plot each points of data file with different colours in GNUPLOT Savin Beniwal <darshanbeniwal11@gmail.com> - 2018-11-21 22:17 -0800

csiph-web