Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3306 > unrolled thread
| Started by | bma.ova@gmail.com |
|---|---|
| First post | 2016-04-24 14:10 -0700 |
| Last post | 2016-04-25 04:22 +0600 |
| Articles | 6 — 4 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Avoiding a color (yellow) in ploting data with lines bma.ova@gmail.com - 2016-04-24 14:10 -0700
Re: Avoiding a color (yellow) in ploting data with lines Karl Ratzsch <mail.kfr@gmx.net> - 2016-04-25 00:14 +0200
Re: Avoiding a color (yellow) in ploting data with lines Benji <bma.ova@gmail.com> - 2016-04-25 03:04 -0700
Re: Avoiding a color (yellow) in ploting data with lines Michael Okuntsov <okuntsov.mikhail@yandex.ru> - 2016-04-25 16:31 +0600
Re: Avoiding a color (yellow) in ploting data with lines Benji <bma.ova@gmail.com> - 2016-04-25 08:39 -0700
Re: Avoiding a color (yellow) in ploting data with lines Michael Okuntsov <okuntsov.mikhail@yandex.ru> - 2016-04-25 04:22 +0600
| From | bma.ova@gmail.com |
|---|---|
| Date | 2016-04-24 14:10 -0700 |
| Subject | Avoiding a color (yellow) in ploting data with lines |
| Message-ID | <42719fd0-e139-4e8e-bd31-74a02ecbb0f7@googlegroups.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
[toc] | [next] | [standalone]
| From | Karl Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Date | 2016-04-25 00:14 +0200 |
| Message-ID | <nfjggp$h0p$1@solani.org> |
| In reply to | #3306 |
Am 24.04.2016 um 23:10 schrieb bma.ova@gmail.com: > 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. > > 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... You simply change the default colour of lt 5 set linetype 5 lc rgb "dark-orange"
[toc] | [prev] | [next] | [standalone]
| From | Benji <bma.ova@gmail.com> |
|---|---|
| Date | 2016-04-25 03:04 -0700 |
| Message-ID | <3a2f22fd-4380-4535-90e1-11a4ccb889fb@googlegroups.com> |
| In reply to | #3307 |
Le lundi 25 avril 2016 00:14:50 UTC+2, Karl Ratzsch a écrit : > > > You simply change the default colour of lt 5 > > set linetype 5 lc rgb "dark-orange" Thank for your answer Karl. But this postpone the problem until later. As we can see with plotting here 27 data files, yellow color appears later several times: http://wsdiscovery.free.fr/forumimgs/multiplot2.png Michael, your solution limits colors number but anyway it's smart. How can I avoid every "yellow" occurences? Benji
[toc] | [prev] | [next] | [standalone]
| From | Michael Okuntsov <okuntsov.mikhail@yandex.ru> |
|---|---|
| Date | 2016-04-25 16:31 +0600 |
| Message-ID | <nfkrg7$q2g$1@dont-email.me> |
| In reply to | #3309 |
25.04.2016 16:04, Benji пишет: > linetype 5 lc rgb "dark-orange" set term pngcairo set out 'no_yellow.png' set for [i=6:300:9] linetype i lc rgb "dark-orange" unset key plot [][-1:101] for [i=1:100] i w l
[toc] | [prev] | [next] | [standalone]
| From | Benji <bma.ova@gmail.com> |
|---|---|
| Date | 2016-04-25 08:39 -0700 |
| Message-ID | <d182a00d-eb01-44ba-a5f9-610b4888c8a9@googlegroups.com> |
| In reply to | #3310 |
Le lundi 25 avril 2016 12:31:50 UTC+2, Michael Okuntsov a écrit : > 25.04.2016 16:04, Benji пишет: > > linetype 5 lc rgb "dark-orange" > > > set term pngcairo > set out 'no_yellow.png' > set for [i=6:300:9] linetype i lc rgb "dark-orange" > unset key > plot [][-1:101] for [i=1:100] i w l Super! Merci for line 3 ingenious loop. I missed 9 step period. How do I can tag post as "solved"? Benji
[toc] | [prev] | [next] | [standalone]
| From | Michael Okuntsov <okuntsov.mikhail@yandex.ru> |
|---|---|
| Date | 2016-04-25 04:22 +0600 |
| Message-ID | <nfjgpf$o0v$1@dont-email.me> |
| In reply to | #3306 |
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)
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web