Re: Changing the default palette color for multiple line plots

Debostuti Ghoshdastidar <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <CAJYAmDUnjehooBnTHhX8XRUUGAgEwWb+ma0dBN_dOADBriT-Zg@mail.gmail.com>
*A correction to the previous mail:Each line is plotted with a different
color. I want the plots to be colored by a defined palette where the range
is the column number itself. E.g., C2 will be the lightest blue and C250
the darkest blue. Since the columns are arranged based on a factor.*

On Thu, Feb 13, 2020 at 5:21 PM Debostuti Ghoshdastidar <
[email protected]> wrote:

> Hi
>
> I have a data set (input.dat) which looks as below:
>
> #C1     C2    C3 ...   C250
> 1          -2.1    -1.9...  -1.1
> 2
> .
> .
> .
> 10       -0.9    1.3        1.7
>
> My intention was that points 1 to 10 will be joined in each column to form
> each plot, and therefore I'll have a 249-line plot. This I am able to
> achieve by the following:
>
> N = system("awk 'NR==1{print NF}' input.dat")
> plot for [i=2:N] "dnase.dat" u 1:i with lines title "" linewidth 2
>
> Each line is plotted with a different color. I want the plots to be
> colored by a defined palette where the range is the column number itself.
> E.g., C1 will be the lightest blue and C2 the darkest blue. Since the
> columns are arranged based on a factor.
>
> Attaching the plot I have till now.
>
> Appreciate any help in this regard.
>
> Thank you
>
> --
> Debostuti Ghosh Dastidar
> DST SERB National Post-Doctoral Fellow
> Molecular Biophysics Unit
> Indian Institute of Science, Bangalore
>


-- 
Debostuti Ghosh Dastidar
DST SERB National Post-Doctoral Fellow
Molecular Biophysics Unit
Indian Institute of Science, Bangalore

_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.