Does anybody know how in xyplot to put the legend title on one line with the
legend? I can get the legend on one line with columns=... but the title is
always on top. I tried a custom key with key=... and text=... but I can't
put the title text in front of the plotting symbol.
I am looking for
This should be simple but I am struggling. I like to easily switch in xyplot
between a linear or logarithmic y-axis by setting a logical flag logY to
False or True. This switch changes the scales argument of xyplot. I found
out that the original two-dimentional data (Conc vs Time in my case) are
wrote:
On 12/15/06, RMan54 [EMAIL PROTECTED] wrote:
This should be simple but I am struggling. I like to easily switch in
xyplot
between a linear or logarithmic y-axis by setting a logical flag logY to
False or True. This switch changes the scales argument of xyplot. I found
out
(...)
panel.curve(myCurve, from=0, to=96, n=300, ..., log=logY)
},
logY
)
Deepayan Sarkar wrote:
On 12/15/06, RMan54 [EMAIL PROTECTED] wrote:
Please take no offence since none was intended. What I meant is that it
should be simple for me to know how to do
)
}
)
Deepayan Sarkar wrote:
On 12/13/06, RMan54 [EMAIL PROTECTED] wrote:
I have a number of x, y observations (Time, Conc) for a number of
Subjects
(with subject number Subj) and Doses. I can plot the individual points
with
xyplot fine:
xyplot(Conc ~ Time | Subj,
Groups=Dose
I created the following groupedData object (nlme library):
gd - groupedData(Conc ~ Time | Subj,
order.groups=T,
FUN = myf,
data=mydata)
The idea of the myf function is to reverse the order of the grouping factor
Subj (or better, reorder from largest to smallest). In the mydata data
I have a number of x, y observations (Time, Conc) for a number of Subjects
(with subject number Subj) and Doses. I can plot the individual points with
xyplot fine:
xyplot(Conc ~ Time | Subj,
Groups=Dose,
data=myData,
panel = function(x,y) {
This, for example:
v - c(9.6996, 99.99)
formatC(v, digits=3, format=g)
shows:
9.7 100
This is scientifically incorrect for the first number in the sense that I
like to show all 3 significant digits, including trailing zero's.
Is there a way that the first number would show as 9.70?
By
as follows:
v - c(9.6996, 99.99)
formatC(v, digits=3, format=g, flag=#)
result:
9.70 100.
The only small annoyance is that the decimal point is always shown.
RMan54 wrote:
This, for example:
v - c(9.6996, 99.99)
formatC(v, digits=3, format=g)
shows:
9.7 100
On Fri, Nov 17, 2006 at 02:14:58PM -0800, RMan54 wrote:
This, for example:
v - c(9.6996, 99.99)
formatC(v, digits=3, format=g)
shows:
9.7 100
This is scientifically incorrect for the first number in the sense that I
like to show all 3 significant digits, including trailing zero's
I am trying to create a plot title in R with substitution by a numeric
variable (Figure number N) within the text which is bold and has a
subcripted part as well. Here is what I have:
title - expression(bold(paste(Figure , N, : Plot , C[max], versus
CrCL)))
plot(1, main=) # Simple plot for
to be combined in the same main loop. The need for the
subscript for which a PlotMath function is needed causes this problem.
--
Rene Braeckman, PhD (RMan54)
Irvine, CA
RMan54 wrote:
I am trying to create a plot title in R with substitution by a numeric
variable (Figure
12 matches
Mail list logo