From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53553 Path: news.gmane.org!not-for-mail From: dalyoung Newsgroups: gmane.comp.tex.context Subject: [MP] labels of points on a circle Date: Mon, 19 Oct 2009 21:48:11 +0900 Message-ID: <84134E24-3D75-4F4B-A6CE-9B07ECD3DC4B@me.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1255956303 9786 80.91.229.12 (19 Oct 2009 12:45:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2009 12:45:03 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 19 14:44:52 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MzrbR-00089D-IJ for gctc-ntg-context-518@m.gmane.org; Mon, 19 Oct 2009 14:44:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9D683C9AE3; Mon, 19 Oct 2009 14:44:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nocbbdHyPar7; Mon, 19 Oct 2009 14:44:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D4866C9A92; Mon, 19 Oct 2009 14:44:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 17D74C9A92 for ; Mon, 19 Oct 2009 14:44:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4MbecqRj8pl0 for ; Mon, 19 Oct 2009 14:44:28 +0200 (CEST) Original-Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by balder.ntg.nl (Postfix) with ESMTP id 8E6C4C9A81 for ; Mon, 19 Oct 2009 14:44:28 +0200 (CEST) Original-Received: from [10.0.1.2] ([121.166.181.31]) by asmtp023.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KRR009CMI1Z4A90@asmtp023.mac.com> for ntg-context@ntg.nl; Mon, 19 Oct 2009 05:44:27 -0700 (PDT) X-Mailer: Apple Mail (2.936) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:53553 Archived-At: Hi all, To draw 9 points with labels, I used the following code. \startbuffer[point2] path p; numeric i; i=1; for j =0.5,1.3,2.5,3,4,4.8,6,7.2,7.9: z[i] = dir(j*45) scaled 4cm; i:= i+1; endfor; p := z1..z2..z3..z4..z5..z6..z7..z8..z9..cycle; draw p; drawpoints p; drawpointlabels p; \stopbuffer \placefigure[middle][]{}{\processMPbuffer[point2]} Then it draw everything well except writing labels inside the circle. How can I write the labels of the points outside of the circle? I'd like to draw 9 points randomly on a circle. Is there a nice way to do it? Thank you. Best regards, Dalyoung ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________