MathGroup Archive 2007

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

Search the Archive

Re: Re: MatrixPlot: frame ticks starting with 0?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77968] Re: [mg77937] Re: MatrixPlot: frame ticks starting with 0?
  • From: bsyehuda at gmail.com
  • Date: Wed, 20 Jun 2007 06:18:08 -0400 (EDT)
  • References: <f58dh8$8jo$1@smc.vnet.net> <200706200929.FAA09720@smc.vnet.net>

Well you practically forced this with the second element assigned to i-1.
you need to assign it to i but then there is no need to use two arguments
If you want only bottom and left ticks you can do it the following way
MatrixPlot[RandomReal[{5, 10}, {5, 5}],
 FrameTicks -> {Range[5],Range[5]}]
yehuda

On 6/20/07, nazdrovje at gmail.com <nazdrovje at gmail.com> wrote:
>
> On Jun 19, 1:09 pm, robin.gr... at gmail.com wrote:
> > Hi,
> > I wonder how I can make MatrixPlot in Mathematica v6 to start the
> > labeling of the frame ticks with 0? It allways starts the labeling
> > with 1.
> > Greetings,
> > Robin
> See the eample below:
>
> MatrixPlot[RandomReal[{5, 10}, {5, 5}],
> FrameTicks -> {{Table[{i, i - 1}, {i, 5}],
>     None}, {Table[{i, i - 1}, {i, 5}], None}}]
>
>
>



  • Prev by Date: Re: Documentation Center notebook fragment not
  • Next by Date: Centering LayerGraphPlot output
  • Previous by thread: Re: MatrixPlot: frame ticks starting with 0?
  • Next by thread: RE: Re: MatrixPlot: frame ticks starting with 0?