Re: [TS 31612]--Re:something is "wrong" with the Fills option in InequalityGraphics
- To: mathgroup at smc.vnet.net
- Subject: [mg72008] Re: [TS 31612]--Re:something is "wrong" with the Fills option in InequalityGraphics
- From: "Chris Chiasson" <chris at chiasson.name>
- Date: Fri, 8 Dec 2006 06:17:56 -0500 (EST)
- References: <200612071800.kB7I004v031650@localhost.localdomain>
Is WRI going to fix the problem? It is likely caused by executing Needs (or Get) on Graphics`FilledPlot` somewhere inside the Graphics`InequalityGraphics` package. One "right way" to do that is to put Graphics`FilledPlot` in the list of other (needed) packages in the BeginPackage statement of Graphics`InequalityGraphics`. On Thu, 7 Dec 2006 18:00:00 UT, mathgroup <mathgroup at smc.vnet.net> wrote: > -- Wolfram Research Technical Support -- > > This is a response to your email. > The reply to your question can be found at the bottom of this message. > Our classification number for this message is: [TS 31612] > Please give this number in any future correspondence > related to this question. If you leave this number in > the Subject: header in the form [TS 31612], it will > automatically be reassigned to the original technician. > > From: "Chris Chiasson" <chris at chiasson.name> > Date: Wed, 22 Nov 2006 20:26:28 -0600 > Subject: something is "wrong" with the Fills option in InequalityGraphics > To: mathgroup <mathgroup at smc.vnet.net>,"support at wolfram.com" <support at wolfram.com> > > When I load InequalityGraphics as part of a BeginPackage statement and > then use the Fills option of Inequality plot, it ignores the option > and doesn't produce an error. > > BeginPackage["blah`",{"Graphics`InequalityGraphics`"}]; > Begin["`p`"]; > InequalityPlot[1<x^2-y^2<4&&x*y<1&&x>0&&y>0,{x,-2,3},{y,-2,2}, > Fills->{White}] > Context@Fills > End[]; > EndPackage[]; > Context@Fills > > \[SkeletonIndicator]Graphics\[SkeletonIndicator] > blah`p` > Graphics`FilledPlot` > > One can work around this problem by adding "Graphics`FilledPlot`" to > the List in BeginPackage, but that should not be required, AFAIK. > > -- > http://chris.chiasson.name/ > > > > ---------------------------------------------------------------------------- > > Hello, > > Thank you for the email. While Needs is called on the packages in the > list, the context path is modified to only explicitly use the specified > contexts. So the dependent packages are not added to the context path. > > As you say one way to fix this is to add the Graphics`FilledPlot` to the > list, or you can simply do a 'private import' that is to call Needs > explicitly after you start the package. > > Sincerely, > > Manjula Jayasuriya > Technical Support > Wolfram Research, Inc. > support at wolfram.com > > > ---------------------------------------------------------------------------- > > If this issue is resolved, please consider taking a few minutes > to give us some feedback on your experience. Please visit > http://support.wolfram.com/survey/?trackingnumber=31612 > and give your honest answers to these three short questions. > Thanks for taking the time to help us improve. > -- http://chris.chiasson.name/