ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
Subject: Re: Rotating a label in Metapost
Date: Sun, 15 May 2005 09:57:52 +0200	[thread overview]
Message-ID: <42870100.4050009@gmx.net> (raw)
In-Reply-To: <B44E0BAD-C50D-11D9-B30D-001124338712@northcoast.com>

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

      reply	other threads:[~2005-05-15  7:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-15  6:51 David Arnold
2005-05-15  7:57 ` Peter Rolf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42870100.4050009@gmx.net \
    --to=indiego@gmx.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).