MathGroup Archive 2007

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

Search the Archive

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


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?