MathGroup Archive 2005

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

Search the Archive

Re: rotate frametick labels

  • To: mathgroup at
  • Subject: [mg58958] Re: [mg58920] rotate frametick labels
  • From: "David Park" <djmp at>
  • Date: Mon, 25 Jul 2005 01:12:12 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


How about something like this.

      {Rectangle[{0, 0}, {2, 1},
          Show[Graphics[RasterArray[{{Hue[0.5], Hue[1]}}]],
            AspectRatio -> Automatic, DisplayFunction -> Identity]],
        Text["some text", {0.5, -0.05}, {0, 0.7}, {0, 1}],
        Text["some more text", {1.5, -0.05}, {0, 0.7}, {0, 1}],
        Text["Text Labeled Raster Array", {1, 1.1}]
    PlotRange -> {{-0.1, 2.1}, {-0.5, 1.3}},
    AspectRatio -> Automatic,
    Background -> Linen,
    ImageSize -> 450

The labels might be better if they were at a slant, but then it takes some
finicky work to get them positioned correctly.

This kind of labeling isn't too great because it takes up a lot of space and
there might be a better way if we knew what the labeling actually was.

David Park
djmp at

From: Carsten Siegmund [mailto:carsten.siegmund at]
To: mathgroup at


I like to plot a raster array but for its elements it does not make
sense to be described by numbers. Therefore I've labeled the frameticks
manually and tried to rotate the labels to avoid overwriting for large


Show[Graphics[RasterArray[{{Hue[0.5], Hue[1]}}]],
   Frame -> True,
   FrameTicks -> {{{0.5, StyleForm["some text",
                   {1.5, StyleForm["some more text",

I don't get any error messages but the plot looks the same as without
the use of StyleForm[...]. Any suggestions?


[Mathematica 5.0, Windows XP Prof.]

  • Prev by Date: Re: Re: simple question about random
  • Next by Date: Re: Re: Re: Mathematica 5.2: The 64-bit and multicore release
  • Previous by thread: rotate frametick labels
  • Next by thread: Re: rotate frametick labels