Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.graphics.apps.gnuplot > #4655
| From | db <dieterhansbritz@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Multiple coloured point lines |
| Date | 2024-02-21 14:21 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <ur4tc7$35ets$1@dont-email.me> (permalink) |
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