Hi, This looks very much like a waffle plot, which can be performed with color2D.matplot in the plotrix package. At the moment, the function fill.corner is used to produce the matrix, but this could be generalized to produce any shape of "waffle". The value display is already part of color2D.matplot.
Jim On Thu, Jun 22, 2017 at 2:01 PM, S Ellison <s.elli...@lgcgroup.com> wrote: > > I'm looking for a histogram variant in which data points are plotted as > labelled rectangles 'piled up' to form a histogram. I've posted an example at > https://www.dropbox.com/s/ozi8bhdn5kqaufm/labelled_histogram.png?dl=0 > > It seems to have a long pedigree, as I see it (as in this example) in > documents going back beyond the '80s. But I've not seen it in recent > textbooks. So it may be one of those older graphical displays that's just > fallen out of use. > > General questions: > i) Does this thing have a name? > ii) Can anyone point me to a literature source for it? > > ... and the R question: > ii) Is it already hiding somewhere in an R package?* > > S Ellison > > *If it's not, I'll be adding it to one, hence the hunt for due credit/sources > > > > ******************************************************************* > This email and any attachments are confidential. Any u...{{dropped:8}} ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.