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


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

Re: Back side of surfaces - linestyle

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Back side of surfaces - linestyle
Followup-To comp.graphics.apps.gnuplot
Date 2011-06-21 23:17 -0700
Organization gnuplot development team
Message-ID <its1dt$s3u$1@dont-email.me> (permalink)
References <itq9gj$fco$1@speranza.aioe.org>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


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"

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


Thread

Back side of surfaces - linestyle macko <macko@nospam.org> - 2011-06-21 16:23 +0200
  Re: Back side of surfaces - linestyle sfeam <sfeam@users.sourceforge.net> - 2011-06-21 09:53 -0700
    Re: Back side of surfaces - linestyle macko <macko@nospam.org> - 2011-06-21 22:22 +0200
  Re: Back side of surfaces - linestyle Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-06-21 22:57 +0200
  Re: Back side of surfaces - linestyle sfeam <sfeam@users.sourceforge.net> - 2011-06-21 23:17 -0700

csiph-web