Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Back side of surfaces - linestyle Followup-To: comp.graphics.apps.gnuplot Date: Tue, 21 Jun 2011 23:17:57 -0700 Organization: gnuplot development team Lines: 33 Message-ID: References: Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Wed, 22 Jun 2011 06:17:33 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="WEZLCPHRH3QJlZRyUKB04A"; logging-data="28798"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/796ivTM+7kwwODLzBfrxG" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:nuGJ9/T6+GM1ioOzJqdYyE7Wc2E= Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:396 macko wrote: > > Using v4.4.3, I am trying to control colors of two sides of a surface... > but I can only set one color. Here is an example: > > --- > set terminal pdf size 6,5 enhanced > > set style line 1 lc rgbcolor "blue" > set style line 2 lc rgbcolor "black" > set style line 3 lc rgbcolor "red" > > set hidden3d offset 1 > show hidden3d #says "Back side of surfaces has linestyle offset of 1" > > splot sin(x*y) w l linestyle 1 > --- > > The "linestyle 1" part selects a color of *both* sides; the "offset 1" > does not seem to work. What am I missing? Aha. I understand now. The answer for version 4.4 is to add the command set style increment user This will cause the program to step through line _styles_ rather than line _types_. This command is obscure, non-obvious, etc, etc, and is not needed in version 4.5, where you can use the more obvious commands: set linetype 1 lc rgbcolor "blue" set linetype 2 lc rgbcolor "black"