Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: GridLines

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55252] Re: [mg55202] GridLines
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Thu, 17 Mar 2005 03:30:39 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Needs["Graphics`"];

On my system, the default GridLines look dark blue.  This converts them to 
LightBlue

plt=Plot[E^x,{x,0,2},
      GridLines->Automatic,
      DisplayFunction->Identity];

AbsoluteOptions[plt,GridLines][[1,2,1,1]]

{0.,{RGBColor[0.,0.,0.5],AbsoluteThickness[0.25]}}

Show[plt,AbsoluteOptions[plt,GridLines]/.
      RGBColor[__]->LightBlue,
    DisplayFunction->$DisplayFunction];


Bob Hanlon

> 
> From: Steve Gray <stevebg at adelphia.net>
To: mathgroup at smc.vnet.net
> Date: 2005/03/16 Wed AM 05:36:45 EST
> To: mathgroup at smc.vnet.net
> Subject: [mg55252] [mg55202] GridLines
> 
> 1. Help says that the default color of GridLines is light blue, but mine are 
black. ?? LightBlue
> would be much better.
> 2. Is there a way to control the color of GridLines in Show? There seems to 
be no such thing as
> GridStyle, GridColor, GridLineStyle, etc.
> 
> Thank you for any info.
> 
> 


  • Prev by Date: Re: Sum
  • Next by Date: Re: J/Link problem on Mac OS X
  • Previous by thread: Re: GridLines
  • Next by thread: Re: GridLines