Re: [S] Including variable value in title

Jim Robison-Cox (jimrc@mathfs.math.montana.edu)
Tue, 19 May 1998 09:52:27 -0600 (MDT)


On Tue, 19 May 1998, Jim Box wrote:

> Hello all -
>
> I'm running a simulation where I am plotting the results in several
> different cases.
>
> What I'd like is the title to say " Results for case N", where N is the
> case number. Is there a way to mix variable values into titles?
>
> I tried title("Results for case " N), but that got dumped.
>
This should work:
title(paste("Results for case", N,sep=" "))

Jim Robison-Cox ____________
Department of Math Sciences | | phone: (406)994-5340
2-214 Wilson Hall \ BZN, MT | FAX: (406)994-1789
Montana State University | *_______|
Bozeman, MT 59717 \_| e-mail: jimrc@math.montana.edu

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news