MathGroup Archive 2007

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

Search the Archive

Re: v. 6, third argument to rectangle

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76482] Re: v. 6, third argument to rectangle
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 23 May 2007 05:12:15 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <200705110933.FAA06232@smc.vnet.net> <f21g6n$7hg$1@smc.vnet.net> <200705140733.DAA22822@smc.vnet.net> <f2bro8$g3v$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

sorry, you are right in the final version Rectangle[]
does not allow a third argument but Mathematica 6. offer
the Inset[] object and


Unprotect[Rectangle]
Rectangle[p1_, p2_, gr_] := Inset[gr, p1, p2]
Protect[Rectangle]

should fix the problem.

Regards
   Jens

Andrzej Kozlowski wrote:
> On 14 May 2007, at 16:33, rip pelletier wrote:
> 
>> thanks for the suggestions. it seems the problem is more complicated
>> than i thought. i need to do some work to find out why i get an error
>> message saying Rectangle cannot be called with 3 arguments, although
>> such calls work for other people.
>>
> 
> Well, actually, I have to confess that my case may not be decisive  
> because, although I use the same version of Mac OS X as you do, I am  
> still running a beta version of Mathematica 6.0. If Jens-Peer Kuska  
> is also doing that, then it is still possible that this behaviour was  
> changed at the last moment. To settle the issue I hope someone else  
> with a officially released version of Mathematica confirms that  
> Rectangle still works with 3 arguments.
> Of course, Jens may have already confirmed this ;-)
> 
> Andrzej Kozlowski
> 
> 
> 


  • Prev by Date: Re: Dialogs and inheritance
  • Next by Date: Re: Re: Weird result in Mathematica 6
  • Previous by thread: Re: Re: Re: v. 6, third argument to rectangle
  • Next by thread: Re: Re: Re: v. 6, third argument to rectangle