On Wed, 9 Mar 2005 15:24:48 +0100 Ronny Klein wrote: > > What are the myplot objects? Expressions or graphical objects that > > are printed? > > The myplot is something like this: > > plot(x) > text(foo)
Aha, I was surprised that this worked for one of the two plots. You could pass myplot as an expression, e.g. myplot = expression(plot(x)), and then eval() that in the body of plot.both(). But personally, I wouldn't do that :-) and use Sweave instead. Z > etc. > > > In any case, a good recommendation for this kind of stuff is to look > > at Sweave() in the utils package. I guess you're writing your thesis > > in LaTeX...and Sweave is a great possibility to mix LaTeX code and R > > code which for example generates both pdf and eps graphics. > > Thanks, I will have a look on it. > > Ronny > ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html