MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ContourStyle -> {{Dashing[0.15, 0.5]}} has no effect

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92421] Re: ContourStyle -> {{Dashing[0.15, 0.5]}} has no effect
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Tue, 30 Sep 2008 21:49:47 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <gbt2ur$lh5$1@smc.vnet.net>

er wrote:

> Dashing below has no effect. I must be doing something wrong...Any
> suggestion would be nice. Thanks!
> 
> 
> With[{dist = NormalDistribution[0, 1/2]},
>   ContourPlot[PDF[dist, x2]PDF[dist, x3], {x2, -2, 2}, {x3, -2, 2},
>     ContourShading -> False,
>     ContourStyle -> {{Dashing[0.15, 0.5], Thickness[0.002],
================================^^^^^^^^^^
Syntax error: the arguments must be passed as a *list*, e.g.

     Dashing[{0.15, 0.5}]

>           RGBColor[1, 0, 0]}}]
>   ]

The following works as expected.

With[{dist = NormalDistribution[0, 1/2]},
  ContourPlot[PDF[dist, x2] PDF[dist, x3], {x2, -2, 2}, {x3, -2, 2},
   ContourShading -> False,
   ContourStyle -> {{Dashing[{0.15, 0.5}], Thickness[0.002],
      RGBColor[1, 0, 0]}}]]

Regards,
-- Jean-Marc



  • Prev by Date: Re: ContourStyle -> {{Dashing[0.15, 0.5]}} has no effect
  • Next by Date: Re: ContourStyle -> {{Dashing[0.15, 0.5]}} has no effect
  • Previous by thread: Re: ContourStyle -> {{Dashing[0.15, 0.5]}} has no effect
  • Next by thread: Re: ContourStyle -> {{Dashing[0.15, 0.5]}} has no effect