Skip to content
Prev 65610 / 398503 Next

function in order to plot the same graph to postscript and pdf

On Wed, 9 Mar 2005 15:24:48 +0100 Ronny Klein wrote:

            
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