Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Axes all around

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111145] Re: Axes all around
  • From: Helen Read <hpr at together.net>
  • Date: Thu, 22 Jul 2010 05:40:29 -0400 (EDT)
  • References: <i26klo$96e$1@smc.vnet.net>
  • Reply-to: HPR <read at math.uvm.edu>

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?