From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20374 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Rotating a label in Metapost Date: Sun, 15 May 2005 09:57:52 +0200 Message-ID: <42870100.4050009@gmx.net> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1116143978 16178 80.91.229.2 (15 May 2005 07:59:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 May 2005 07:59:38 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun May 15 09:59:36 2005 Return-path: 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 1DXE2A-0006ZY-T7 for gctc-ntg-context-518@m.gmane.org; Sun, 15 May 2005 09:59:34 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 413E6127C8; Sun, 15 May 2005 09:59:48 +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 20398-04; Sun, 15 May 2005 09:59:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6643D127CF; Sun, 15 May 2005 09:57:48 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F203C127CF for ; Sun, 15 May 2005 09:57:46 +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 20398-03 for ; Sun, 15 May 2005 09:57:46 +0200 (CEST) Original-Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 2C923127C8 for ; Sun, 15 May 2005 09:57:46 +0200 (CEST) Original-Received: (qmail invoked by alias); 15 May 2005 07:57:45 -0000 Original-Received: from i5387D827.versanet.de (EHLO [192.168.0.3]) [83.135.216.39] by mail.gmx.net (mp001) with SMTP; 15 May 2005 09:57:45 +0200 X-Authenticated: #24293357 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: de-DE, de, en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20374 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20374 David Arnold schrieb: > All, > > I have a horizontal axis with tick marks. I'd like to label the tick > marks with their numerical values, but I'd like to rotate the numerical > label 90 degrees clockwise. > > Any suggestions? > pair pos ; for i:= MINMARK step MARKDISTANCE until MAXMARK: pos:= (i*MARKDISTANCE, YPOS) ; label.bot(integer(i), pos)) rotated 90 ; % or -90? endfor untested, but i hope it gives the right direction. Peter