Re: Axes all around
- To: mathgroup at smc.vnet.net
- Subject: [mg111170] Re: Axes all around
- From: "David Park" <djmpark at comcast.net>
- Date: Thu, 22 Jul 2010 05:45:04 -0400 (EDT)
An ArrayPlot has the default option FrameTicks -> None, which is why Frame
didn't work. But you could do something like this:
ArrayPlot[RandomReal[{-1, 1}, {10, 10}],
DataRange -> {{0.5, 9.5}, {0.5, 9.5}},
Frame -> True,
FrameTicks -> Automatic,
PlotRange -> {{-.1, 10.1}, {-.1, 10.1}},
PlotRangePadding -> 0.05]
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/
From: eric g [mailto:eric.phys at gmail.com]
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]