On Thu, 06-Dec-2007 at 07:16AM -0800, Svempa wrote:
|>
|> I want to fit a fairly long main title for a plot, supposedly by changing row
|> after a while. As for now it starts way outside the picture margin at the
|> left and continues way out right passed the right margins.
|>
|> >plot(A,main="T
I have learned something new - thanks for the strwrap info.
The problem with posting from Nabble is that by the time your post actually
gets to the list (2 hours after you posted it in this case) and you've
written some line like "Knowing the R list, someone can probably reduce this
function to 2
On Thu, 2007-12-06 at 09:28 -0800, Jim Price wrote:
> I wrote a little utility function for exactly this reason, which I use with
> long titles. You may want to add calls to par to adjust the upper margin if
> you are using raw graphical functionality (plot et al) - but lattice adjusts
> the upper
\n to start a new line
plot(1:10,main="This is my really long title \n and
it's so long that I can see \n just about half of
it.")
--- Svempa <[EMAIL PROTECTED]> wrote:
>
> I want to fit a fairly long main title for a plot,
> supposedly by changing row
> after a while. As for now it starts way
Try This:
plot(A,main=paste("This is my really long title and","\n","it's so long that
I can see
just about half of it.", sep = " "))
-- Bert Gunter
Genentech
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
I wrote a little utility function for exactly this reason, which I use with
long titles. You may want to add calls to par to adjust the upper margin if
you are using raw graphical functionality (plot et al) - but lattice adjusts
the upper margin automatically so you wouldn't need to add anything e
try this:
plot(0, main=paste(strwrap("This is my really long title and it's so
long that I can see just about half of it.", width=50),
collapse="\n"))
On Dec 6, 2007 7:16 AM, Svempa <[EMAIL PROTECTED]> wrote:
>
> I want to fit a fairly long main title for a plot, supposedly by changing row
> aft
On Thu, 2007-12-06 at 07:16 -0800, Svempa wrote:
> I want to fit a fairly long main title for a plot, supposedly by changing row
> after a while. As for now it starts way outside the picture margin at the
> left and continues way out right passed the right margins.
>
> >plot(A,main="This is my re
---
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Svempa
> Sent: Thursday, December 06, 2007 8:16 AM
> To: r-help@r-project.org
> Subject: [R] Fitting large titles in a plot
>
>
> I want to fit a fairly long main title for a plot, supposedly
> by cha
I want to fit a fairly long main title for a plot, supposedly by changing row
after a while. As for now it starts way outside the picture margin at the
left and continues way out right passed the right margins.
>plot(A,main="This is my really long title and it's so long that I can see
just about
10 matches
Mail list logo