MathGroup Archive 1998

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

Search the Archive

Re: Graphics Line Styles

  • To: mathgroup at smc.vnet.net
  • Subject: [mg13913] Re: Graphics Line Styles
  • From: "Allan Hayes" <hay at haystack.demon.cc.uk>
  • Date: Mon, 7 Sep 1998 01:22:39 -0400
  • References: <6ssug5$m76@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Cecil Penn wrote in message <6ssug5$m76 at smc.vnet.net>...
>I need to change the colors and widths of the grid lines for plots in
>Mathematica (e.g. LogPlot, ListPlot, etc.).  Anyone have any ideas?
>
>Cecil Penn


Cecil,

The option GridLines works:

ListPlot[{1,2,3,4,5},
  GridLines -> {{{2,{ RGBColor[1,0,0], Thickness[.02]}},
   {4,{Hue[0.2], Thickness[.03]}}},Automatic}]

You can get more information from the Help browser.

Allan

------------------------------------------------------------- 
Allan Hayes
Training and Consulting
Leicester UK
http://www.haystack.demon.co.uk
hay at haystack.demon.co.uk
voice: +44 (0)116 271 4198
fax: +44(0)116 271 8642



  • Prev by Date: Re: Scoped variables
  • Next by Date: Fourier transform
  • Previous by thread: Graphics Line Styles
  • Next by thread: Scoped variables