From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28854 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Re: Clipping again Date: Sun, 25 Jun 2006 12:58:22 -0700 Message-ID: <00126185-2A78-4687-9F91-DFE6AFB92A73@cox.net> References: <89CFFCDF-F1CE-4005-81D0-D30A633328FE@cox.net> <6faad9f00606251237n70a922edi3b8e4e329446057@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1151265600 15212 80.91.229.2 (25 Jun 2006 20:00:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2006 20:00:00 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 25 21:59:55 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fualn-00071r-Ij for gctc-ntg-context-518@m.gmane.org; Sun, 25 Jun 2006 21:59:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B818F127C3; Sun, 25 Jun 2006 21:59:47 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01291-07-5; Sun, 25 Jun 2006 21:59:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0B3A5127DE; Sun, 25 Jun 2006 21:59:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7D386127DE for ; Sun, 25 Jun 2006 21:59:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01291-07-4 for ; Sun, 25 Jun 2006 21:59:40 +0200 (CEST) Original-Received: from fed1rmmtao08.cox.net (fed1rmmtao08.cox.net [68.230.241.31]) by ronja.ntg.nl (Postfix) with SMTP id BDB95127C3 for ; Sun, 25 Jun 2006 21:59:39 +0200 (CEST) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao08.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060625195937.NWU27967.fed1rmmtao08.cox.net@[10.0.1.2]> for ; Sun, 25 Jun 2006 15:59:37 -0400 In-Reply-To: <6faad9f00606251237n70a922edi3b8e4e329446057@mail.gmail.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.750) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:28854 Archived-At: Mojca, Good question of course. However, I am using this for intermediate algebra students so the graphs will be lines, absolute value, quadratics, polynomials, rational functions, radical functions, exponential and logarithmic functions. In each case, I would adjust the window to see all important behavior of the function, extrema, etc. So, for example, if I needed to draw y=12-x^2, I would not clip this to the boundary (-10,-10)--(10,-10)-- (10,10)--(-10,10)--cycle, because that would chop off the top of the parabola, and if I added arrows, it would look like I had two branches. Rather, I might clip y=12-x^2 to the boundary (-10,-20)-- (10,-20)--(10,20)--(-10,20)--cycle in order to see the "turning point" of the parabola. That is, I would choose a boundary that would present arrow heads at each end of the curve. In the case of rational functions, I would clip each branch separately. I hope this answers the question. Thanks. On Jun 25, 2006, at 12:37 PM, Mojca Miklavec wrote: > On 6/25/06, David Arnold wrote: >> Unfortunately, even though this works, mathematicians really want >> arrows at each end of the graph. Easy enough to do with drawdblarrow >> P withcolor blue, but the arrows then get clipped. What I really need >> is to adapt the code below so that my function is clipped to the >> boundary box, but then redrawn with arrows at each end of it. If >> anyone can adjust my code to do that, it would be much appreciated, >> and it would break down a barrier I've faced for years with metapost >> coding. > > Just for clarification: What would you do with a "mexican hat" > (x^4-4*x^2+4, y between 0 and 3) it if would cut the boundary 4 times? > Use 4 arrows or just the two at the end? > > Mojca > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context