Re: SetOptions does not work with Grid
- To: mathgroup at smc.vnet.net
- Subject: [mg115735] Re: SetOptions does not work with Grid
- From: Alexey <lehin.p at gmail.com>
- Date: Wed, 19 Jan 2011 05:29:19 -0500 (EST)
- References: <igmcri$5e$1@smc.vnet.net>
Hello,
I confirm this behaviour in Mathematica 7.01 under Windows.
I do not have Mathematica 8 and I have another related question: does the
following old bug with SetOptions and ListPlot fixed in Mathematica 8?
SetOptions[ListPlot, Joined -> True, Mesh -> All];
ListPlot[Sqrt[Range[40]]]
(Mesh -> All is ignored in Mathematica 7.01)
Istv=E1n Zachar <z... at freemail.hu> wrote:
> Dear Group
>
> SetOptions is notoriously ignorant in case of some functions, like
> Grid, see code below. First grid appears without a a frame, though it
> should have one. Is it a bug? Is there a workaround other than
> Untprotecting Grid and use Options[Grid] = {new options..}?
>
> SetOptions[Grid, Frame -> All];
> Grid[{{1, 1}, {2, 2}}]
> Grid[{{1, 1}, {2, 2}}, Frame -> All]
>
> Istv=E1n