Well, the axes are useful, the same way they are useful for e.g. a bar
plot: one would like to see which fields are in which rows and columns
(without having to count them).
My use case is showing a similarity matrix, in which I want to see which
item in the rows corresponds with which one in the columns.

I don't think the axes make sense at all (certainly not the non-integer
intermediates like 2.5), they should just list the cell indices, centred on
the cells.

I can't personally see a reason why it wouldn't be better to centre the
ticks on the cells.

Jan-Pieter

On Fri, 4 Nov 2022, 14:57 Raul Miller, <rauldmil...@gmail.com> wrote:

> Hmm... I think you're asking for the x and y axis labels for that plot
> to range from  0 to 5. This would result in blocks centered over the
> integers corresponding to the numbered values.
>
> But the axes don't carry much (if any) information here. So maybe it
> would be better to use
>
>    'density;noaxes' plot i.5 5
>
> ?
>
> --
> Raul
>
> On Fri, Nov 4, 2022 at 4:36 AM Jan-Pieter Jacobs
> <janpieter.jac...@gmail.com> wrote:
> >
> > Hi all,
> >
> > I noticed the tick marks in the plot addon's density plot are misaligned,
> > e.g.
> >
> > load 'plot'
> > 'density' plot i. 5 5
> >
> > shows 5 coloured cells, and axes range from 0 to 4. But the corresponding
> > tick marks are aligned to the left of the cell in column 0, and the right
> > of the cell in column 4.
> >
> > I would find it more clear to have the ticks centred on the cells for all
> > rows and columns.
> >
> > What do you think? Or am I missing some useful case of the current
> > behaviour?
> >
> > Thanks,
> >
> > Jan-Pieter
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to