From weigand.stephen at gmail.com  Mon Jul  1 17:37:01 2013
From: weigand.stephen at gmail.com (Stephen Weigand)
Date: Mon, 1 Jul 2013 10:37:01 -0500
Subject: [Rd] dotchart.R and left margin
Message-ID: <CAPaK=1GxqTJftxSy0tRRkBtwiQrMdm8PtjtovKWUTf0ppJwrog@mail.gmail.com>

Hello,

In trying to minimize the margin on the left hand side when using
dotchart I found what may be a typo in the code.

In the lines below from dotchart.R, should nmai[4L] be nmai[2L]?


    if (!(is.null(labels) && is.null(glabels))) {
nmai <- par("mai")
nmai[2L] <- nmai[4L] + max(linch + goffset, ginch) + 0.1
par(mai = nmai)
    }


Thank you,

Stephen Weigand

--
Rochester, Minn. USA



[Rd] dotchart.R and left margin
Stephen Weigand