Change as in:
plot.Sample <- function(..., xaxloc = 1){
and in the body replace "axis(1)" by "axis(xaxloc)"
then you can call plot(., xaxloc=3) in order to plot the xaxis at
the top (while bottom is still the default).
Uwe Ligges
David Winsemius wrote:
On Jun 20, 2009, a
On Jun 20, 2009, at 7:05 AM, rajesh j wrote:
Hi,
I'm trying to modify this function.I want to remove the existing
xaxis(the
tick marks and the values below each tick) and make it dynamic so
that i can
choose whether i want the xaxis at the top or bottom but i cant seem
to
change that.can
2 matches
Mail list logo