ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Rotating a label in Metapost
@ 2005-05-15  6:51 David Arnold
  2005-05-15  7:57 ` Peter Rolf
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 2005-05-15  6:51 UTC (permalink / raw)


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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Rotating a label in Metapost
  2005-05-15  6:51 Rotating a label in Metapost David Arnold
@ 2005-05-15  7:57 ` Peter Rolf
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Rolf @ 2005-05-15  7:57 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-15  7:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-15  6:51 Rotating a label in Metapost David Arnold
2005-05-15  7:57 ` Peter Rolf

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).