Thanks Deepayan. Yes that is both the correct diagnosis and the "obvious"
solution I was looking for. And now I don't have to embarrass myself by
showing my "clumsy" solution.
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
--
On 13/02/20 6:16 pm, Deepayan Sarkar wrote:
On Thu, Feb 13, 2020 at 10:39 AM Richard M. Heiberger wrote:
It works as anticipated for me
xyplot(1 ~ 1,
+ main="The quick brown fox jumped\n over the lazy dog.")
xyplot(1 ~ 1,
+ main="The quick brown fox jumped over
Hi Bert,
You are right that the general solution is for 'main' to be a (grid)
grob. It is not clear (to me) what the "height" of a textGrob with
multiple labels should be, but the following gives reasonable results:
xyplot(1 ~ 1,
main = textGrob(c("The quick brown fox jumped", "over the la
OK. Now for a tougher problem: how to make the first line bold font and the
second line normal font (and/or different colors)?
My reading of the docs did not reveal how to do it, but I found a way using
a textGrob for the title (i.e. main ). But it's tricky, as the "obvious
solution" of using diff
On Thu, Feb 13, 2020 at 10:39 AM Richard M. Heiberger wrote:
>
> It works as anticipated for me
>
> > xyplot(1 ~ 1,
> + main="The quick brown fox jumped\n over the lazy dog.")
> > xyplot(1 ~ 1,
> + main="The quick brown fox jumped over the lazy dog.")
>
> Something else you
It works as anticipated for me
> xyplot(1 ~ 1,
+ main="The quick brown fox jumped\n over the lazy dog.")
> xyplot(1 ~ 1,
+ main="The quick brown fox jumped over the lazy dog.")
Something else you are doing is probably causing the difficulty.
Rich
On Wed, Feb 12, 2020 at
I'm trying to do an xyplot() with a longish main title that I'd like to
split into two lines, something like
xyplot(,
main="The quick brown fox jumped\n over the lazy dog.")
When I do this I only get the last half, i.e. the "over the lazy dog."
bit, and the first half doesn't
7 matches
Mail list logo