From: eric g on
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]

From: Helen Read on
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

From: Bob Hanlon on

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(a)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]



From: David Park on
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(a)comcast.net
http://home.comcast.net/~djmpark/



From: eric g [mailto:eric.phys(a)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]



From: Bill Rowe on
On 7/21/10 at 7:12 AM, eric.phys(a)gmail.com (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]

Something like this?

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