Path: csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: db Newsgroups: comp.graphics.apps.gnuplot Subject: Multiple coloured point lines Date: Wed, 21 Feb 2024 14:21:11 +0100 Organization: A noiseless patient Spider Lines: 24 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 21 Feb 2024 13:21:11 -0000 (UTC) Injection-Info: dont-email.me; posting-host="0acc893c937b04d76189cc7891614f61"; logging-data="3324860"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19I+4tZOnBz9RqZnDk69LOxAmTGJ6ySWJY=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:mTeDPzcjQyxKhC5S0HTfr/cGE4M= Content-Language: en-US Xref: csiph.com comp.graphics.apps.gnuplot:4655 Here is a mini example gnuplot << eoi set term postscript enh color eps 24 set output 'mini.eps' set xlabel "x" plot x w p pt 7 rgb 'black', \ x/2 w p pt 7 rgb 'red' quit eoi gv mini.eps This baulks at the first "rgb": gnuplot> plot x w p pt 7 rgb 'black', x/2 w p pt 7 rgb 'red' ^ line 0: unexpected or unrecognized token: rgb But if I leave out the second plot line (and terminate the first properly (no ", \)) it gives me a plot of a lot of blue points. Why can't I have several coloured plots? -- Dieter Britz