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: [mg111165] Re: Axes all around
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Thu, 22 Jul 2010 05:44:07 -0400 (EDT)

data = RandomReal[{-1, 1}, {10, 10}];

ArrayPlot[
 data,
 Frame -> True,
 FrameTicks -> Automatic,
 Axes -> False]

Module[{
  ft1 = Table[{n + 1/2, 10 - n}, {n, 0, 10}],
  ft2 = Table[{n + 1/2, n}, {n, 0, 10}]},
 ArrayPlot[
  data,
  Frame -> True,
  FrameTicks -> {ft1, ft2, ft1, ft2},
  Axes -> False]]


Bob Hanlon

---- eric g <eric.phys at gmail.com> 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]




  • Prev by Date: Re: Writing to same file from several kernels?
  • Next by Date: Re: Axes all around
  • Previous by thread: Re: Axes all around
  • Next by thread: Re: Axes all around