Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4655
| Path | csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | db <dieterhansbritz@gmail.com> |
| 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 | <ur4tc7$35ets$1@dont-email.me> (permalink) |
| 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 |
Show key headers only | View raw
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
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
Multiple coloured point lines db <dieterhansbritz@gmail.com> - 2024-02-21 14:21 +0100 Re: Multiple coloured point lines Karl Ratzsch <mail.kfr@gmx.net> - 2024-02-22 21:15 +0100
csiph-web