MathGroup Archive 2010

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

Search the Archive

Re: Axes all around


On 7/21/2010 7:11 AM, eric g wrote:
> Hello Group,
> I want to put four axes around in this arrayplot, Axes ->  True put only
> two, how to put two more?
> thnks inadvance
> Eric
>
> ArrayPlot[RandomReal[{-1, 1}, {10, 10}], Frame ->  None, Axes ->  True]

Leave the Frame turned on.

ArrayPlot[RandomReal[{-1, 1}, {10, 10}]]

If you want ticks all the way around, turn on the FrameTicks.


ArrayPlot[RandomReal[{-1, 1}, {10, 10}], FrameTicks -> True]

You can pick out where you want ticks if you don't want them all the way 
around.

ArrayPlot[RandomReal[{-1, 1}, {10, 10}],
  FrameTicks -> {{True, False}, {True, False}}]


-- 
Helen Read
University of Vermont


  • Prev by Date: Displaying a list of variables together with their names
  • Next by Date: Re: Very very basic question about Mathematica
  • Previous by thread: Re: Axes all around
  • Next by thread: Writing to same file from several kernels?