s-news
[Top] [All Lists]

Problem with mtext in barplot

To: <s-news@lists.biostat.wustl.edu>
Subject: Problem with mtext in barplot
From: "David Parkhurst" <parkhurs@ariel.ucs.indiana.edu>
Date: Tue, 24 Aug 2004 11:36:18 -0500
When I use this command:
 
barplot(my.mtrx,names=c("A","B",""),ylim=c(0,25),
col=c(8,4),angle=c(45,135),density=c(15,15),ylab="",
mtext("Number of Subjects",side = 2, outer = T, cex = 1.8, line = -2))
 
the text comes up in the figure, but:
 
(1) if I try to click on it to edit it, it disappears.  It comes back if I use the "redraw now" command, but I still can't click on it.
 
(2) I can't find that text line at all using the object explorer. Shouldn't it be there?
 
Does anyone have any idea how I can get at that text to change its size, etc.?
 
Thanks for any help.
 
Dave Parkhurst
<Prev in Thread] Current Thread [Next in Thread>