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: [mg92487] Re: ContourStyle -> {{Dashing[0.15, 0.5]}} has no effect
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Wed, 1 Oct 2008 18:33:29 -0400 (EDT)

On 9/30/08 at 7:36 AM, erwann.rogard at gmail.com (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],
>RGBColor[1, 0, 0]}}]
>]

Are you using version 6? If so, you should have noticed the
second argument to Dashing, i.e., ,0.5 was colored red
indicating a syntax error. Dashing expects a single argument,
either a number or a list of numbers. Change Dashing[0.015,0.5]
to Dashing[{0.15,0.5}] and you should get the desired result.



  • Prev by Date: differentiate/integrate a function
  • Next by Date: Re: Expressing values in the legend in terms of original data
  • Previous by thread: differentiate/integrate a function
  • Next by thread: how to generate a random serie with matrix condition