MathGroup Archive 2005

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

Search the Archive

Re: gridlines


Hello Mike,

You are right : The help should have shown an example.

You have to write put the style in {}  !

  GridLines->{{a,{RGBColor[1,0,0]}},...},{...}}

For example :

Plot[Sin[x], {x, 0, 2*Pi},
 GridLines -> {({#1, {RGBColor[1, 0, 0], Dashing[{0.01}]}} & ) /@ Range[0, 2*Pi, Pi/4], 
     Automatic}];

Regards
 
F.Jaccard

-----Message d'origine-----
De : Mike [mailto:jenningsmca_REMOVETHIS at hotmail.com] 
Envoyé : vendredi, 29. avril 2005 09:22
À : mathgroup at smc.vnet.net
Objet : [mg56594] gridlines

Mathematica Help states that you can color the Gridlines within a plot
by utilizing the RGBColor cmd. I have tried a few different ways but
cannot get the gridlines to turn red.
Anyone know the appropriate syntax to make the grid line red?

MJ


  • Prev by Date: Re: gridlines
  • Next by Date: Re: is this solvable?
  • Previous by thread: Re: gridlines
  • Next by thread: Re: gridlines