MathGroup Archive 2001

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

Search the Archive

Re: Grid

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31141] Re: [mg31138] Grid
  • From: BobHanlon at aol.com
  • Date: Sat, 13 Oct 2001 02:47:05 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 2001/10/12 3:56:15 AM, nospam at newsranger.com writes:

>The grid lines are by default colored light blue. How can I change this
>color?.
>For example in the plot:
>
>Plot[Exp[-x]-x, {x,-3,3},GridLines->Automatic,Frame->True]
>

plt1 = Plot[Exp[-x]-x,{x,-3,3}, GridLines->Automatic, Frame->True];

Use AbsoluteOptions to get an example of how the Gridlines are defined.

GridLines /. AbsoluteOptions[plt1]

Plot[Exp[-x]-x, {x,-3,3},
    GridLines-> {
        Table[{k, {RGBColor[1, 0, 0], 
              AbsoluteThickness[0.25]}}, 
          {k, -2, 2, 1}], 
        Table[{k, {RGBColor[1, 0, 0], 
              AbsoluteThickness[0.25]}}, 
          {k, 0, 20, 5}]}, 
    PlotStyle -> RGBColor[0, 0, 1], 
    Frame->True, Axes -> False];


Bob Hanlon
Chantilly, VA  USA


  • Prev by Date: Problem with building mathlink programs
  • Next by Date: RE: Grid
  • Previous by thread: Grid
  • Next by thread: RE: Grid