Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4662

rgb

Path csiph.com!news.swapon.de!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 rgb
Date Mon, 29 Apr 2024 14:50:59 -0000 (UTC)
Organization A noiseless patient Spider
Lines 19
Message-ID <v0oc4j$1q4cj$1@dont-email.me> (permalink)
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Mon, 29 Apr 2024 16:50:59 +0200 (CEST)
Injection-Info dont-email.me; posting-host="ced161979ae62de1592dd71f1841cd9d"; logging-data="1905043"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183wPCODSr9ud3pkwfiii77wnC4Ufo8W8M="
User-Agent Pan/0.149 (Bellevue; 4c157ba)
Cancel-Lock sha1:Oc71eQpq3RZwMPzC2ddK0QYYpBM=
Xref csiph.com comp.graphics.apps.gnuplot:4662

Show key headers only | View raw


In a script intended to plot two sets of data points,
the plotting statement is

plot 'plotII.dat'  w p pt 7 rgb "blue",\
     'plotIII.dat' w p pt 7 rgb "red"

This produces the following error message.

gnuplot> plot 'plotII.dat'  w p pt 7 rgb "blue", 'plotIII.dat' w p pt 7 
rgb "red"
                                     ^
         line 0: unexpected or unrecognized token: rgb

But if I remove the second half, from the comma
onwards, it does plot the first set as blue points.
Why is this, and what should I do?

-- 
db

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

rgb db <dieterhansbritz@gmail.com> - 2024-04-29 14:50 +0000
  Re: rgb Jörg Buchholz <bookwood4new@freenet.de> - 2024-04-30 07:12 +0200
    Re: rgb db <dieterhansbritz@gmail.com> - 2024-04-30 08:35 +0000
      Re: rgb Karl Ratzsch <mail.kfr@gmx.net> - 2024-04-30 21:30 +0200

csiph-web