Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #396
| 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 <sfeam@users.sourceforge.net> |
| 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 | <its1dt$s3u$1@dont-email.me> (permalink) |
| References | <itq9gj$fco$1@speranza.aioe.org> |
| 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 |
Followups directed to: comp.graphics.apps.gnuplot
Show key headers only | 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 | Next — Previous in thread | Find similar
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