MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

How to offset tick labels?

  • To: mathgroup at
  • Subject: [mg113177] How to offset tick labels?
  • From: István Zachar <zac at>
  • Date: Sat, 16 Oct 2010 13:13:25 -0400 (EDT)

Dear Group,

is there a way to shift/move/offset tick and frametick labels in e.g.
ListPlot? The following example uses rotateted frametick labels
gradually increasing in size. This seemingly causes misplacement of
labels compared to tickmarks. I would like to place every label such a
way that its top left side aligns to the actual tickmark instead of
its center. I am aware that such a thing can be done with charts,
however I have to stick with simpler plotting functions.

len = 10;
data = {#, len + 1 - #} & /@ Range@len;
ticks = MapThread[List[#1, Rotate[#2, -45 \[Degree], Offset[{1000,
10}, {0, 0}]]] &, {Range@len, StringJoin@Table["x", {#}] & /@
ListPlot[data, Frame -> True, Axes -> False, FrameTicks ->
{{Automatic, Automatic}, {ticks, None}}]

Thanks for any suggestions in advance.


  • Prev by Date: Re: why does it still running?!
  • Next by Date: Re: symbolic division of series
  • Previous by thread: $SyntaxHandler problem
  • Next by thread: Re: repost - expanding inline d[xy]/dx during implicit