Re: Re: Clever Tricky Solutions
- To: mathgroup at smc.vnet.net
- Subject: [mg94273] Re: [mg94231] Re: Clever Tricky Solutions
- From: Syd Geraghty <sydgeraghty at me.com>
- Date: Tue, 9 Dec 2008 07:01:21 -0500 (EST)
- References: <27271771.1228394784179.JavaMail.root@m02>
Hello Helen, > It is the behavior of Show that has changed, and since PlotRange is > not > even an option for Show (despite the fact that one can set a PlotRange > within Show), there is no way to change this with SetOptions. px1 = Plot[1/2 Sin[3.14 x], {x, 1, 2}]; px2 = Plot[Sin[3.14 x], {x, 0, 1}]; Show[px1, px2] Does show the problem you refer to for sure. Options[Show] returns {} However strange it might be: Show[px1, px2, PlotRange -> All] or Show[px1, px2, PlotRange -> Automatic] actually combines the plots as desired (Mathematica Version info below). How weird is that! HTH Syd Geraghty B.Sc, M.Sc. sydgeraghty at mac.com Mathematica 7.0.0 for Mac OS X x86 (64 - bit) (21st November, 2008) MacOS X V 10.5.4 MacBook Pro 2.33 Ghz Intel Core 2 Duo 2GB RAM On Dec 8, 2008, at 3:24 AM, Helen Read wrote: > congruentialuminaire at yahoo.com wrote: >> OK Helen: >> >> I do vaguely remember something about this. Of course, your students >> can use SetOptions[Plot, PlotRange->All] or the like. > > But the default for Plot (and PolarPlot, ParametricPlot, Plot3D, etc.) > is *already* PlotRange->Automatic. The problem is that by default Show > no longer combines the PlotRanges automatically, but instead simply > takes the PlotRange from the first graphic. > >> But what is not clear to me is: >> >> - both V5.2 and V6 evaluate Options[Plot,PlotRange] to Automatic. So >> it seems that the default PlotRange default itself has *not* changed; >> just the meaning of the default [i.e. Automatic] is different now!?! > > It is the behavior of Show that has changed, and since PlotRange is > not > even an option for Show (despite the fact that one can set a PlotRange > within Show), there is no way to change this with SetOptions. > > -- > Helen Read > University of Vermont >