Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Michael Okuntsov Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Avoiding a color (yellow) in ploting data with lines Date: Mon, 25 Apr 2016 04:22:52 +0600 Organization: A noiseless patient Spider Lines: 20 Message-ID: References: <42719fd0-e139-4e8e-bd31-74a02ecbb0f7@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 24 Apr 2016 22:19:27 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="82bbc4d9dc50e416d55f9fbf54375877"; logging-data="24607"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hKZecDAAJqm+fgAPgeJ6R" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <42719fd0-e139-4e8e-bd31-74a02ecbb0f7@googlegroups.com> Cancel-Lock: sha1:hyXhYhrP3JUy4t5yqRC+qF0MpqI= Xref: csiph.com comp.graphics.apps.gnuplot:3308 25.04.2016 03:10, bma.ova@gmail.com пишет: > Hello, > > I'm plotting data from files: each files produces a colored curve. > Gnuplot default behaviour makes each curve beeing colored with different color which is what I want. > > But as you may see in the following png file (even if my final result will be a pdf file), curve colored in yellow isn't well visible. > > http://wsdiscovery.free.fr/forumimgs/multiplot.png > > How can I avoid Gnuplot to use yellow color (#ffff00) for plotting curves? > > I didn't use any special palette and let Gnuplot do the job with "plot file1.dat with steps title "number", file2.dat with steps... > > Benji > You can define your own colors: mycolors='0xFF0000 0x00FFFF 0x00FF00 0x0000FF' plot [][-10:10] for [i=1:4] i w l lc rgbcolor word(mycolors,i)