Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

Re: gridlines styles.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51718] Re: [mg51671] gridlines styles.
  • From: "David Annetts" <davidannetts at ihug.com.au>
  • Date: Sat, 30 Oct 2004 03:48:11 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Sean,

> 
> from the help menu...
> 
> "Grid line styles can involve graphics directives such
> as RGBColor and Thickness"
> 
> k. fine.
> Plot[Sin[x], {x, 0, 2Pi}, GridLines -> Automatic]
> Plot[Sin[x], {x, 0, 2Pi}, GridLines -> Automatic,
>   GridLinesStyle -> RGBColor[0, 1, 1]]
> 
> Apparently GridLinesStyle is not the options.

Nope.  Help told you as much.  If it were, it would've (should've) appeared
in the help.

> hm. how can Mathematica set the option for Grid Lines Style if
> not GridLinesStyle?
> 
> 
> any insights will be greatly appreciated.]

You have to specify them manually.

Perhaps playing around with the following might educe the insights you seek?

s1 = {Thickness[.01], Dashing[{.01, .05}], GrayLevel[.5]};
s2 = {Thickness[.01], Red};
Plot[Sin[x], {x, -Pi, Pi}, 
    PlotStyle -> {Thickness[.01], Green},
    GridLines -> {{Automatic, s1}, {Automatic, s2}}
    ];

Play with s1 & s2 to see different GridLine styles.

Regards,

Dave.



  • Prev by Date: Re: Converting Mathematica to MS Word
  • Next by Date: Re: Graphics question
  • Previous by thread: Re: gridlines styles.
  • Next by thread: Re: gridlines styles.