Re: [R] plot zoo custom panel help

2008-07-25 Thread Gabor Grothendieck
I can't reproduce this. Put it all in a .R file, source it into a fresh session and see if you still get the problem. If you do still get an error email it to me and I'll try sourcing the file as well. On Fri, Jul 25, 2008 at 4:28 PM, stephen sefick <[EMAIL PROTECTED]> wrote: > zoo 1.5-4 package

Re: [R] plot zoo custom panel help

2008-07-25 Thread stephen sefick
zoo 1.5-4 package version R 2.7.1 Mac OS X 10.3.5 and Windows XP #from data contained in my second post #this works fine plot(d) plot(d[,1]) #gives me this error message Error in plot.window(...) : invalid 'ylim' value I downloaded the latest version of zoo today as to out previous conversation.

Re: [R] plot zoo custom panel help

2008-07-25 Thread Gabor Grothendieck
Please clarify what the problem is. If its the lack of content in the plot that was already addressed. You mention ylim but its not clear what your comment refers to since the plot command does not use ylim. Also make sure you are using the latest version of zoo and identify the version in your p

Re: [R] plot zoo custom panel help

2008-07-25 Thread stephen sefick
I am still having the can't draw a plot without putting in a ylim value when trying to draw a plot. I have included reproducible code sorry for the previous post > #the below code is the way that I would like the plot to look. I have > tried > to write a panel function: > my.panel <- function(x

Re: [R] plot zoo custom panel help

2008-07-25 Thread Gabor Grothendieck
BB.zoo is missing so I can't run it but note that the panel funtion must draw the points or lines or whatever or else there will be nothing in the plot. See the examples in ?plot.zoo and in vignette("zoo-faq") On Fri, Jul 25, 2008 at 12:13 PM, stephen sefick <[EMAIL PROTECTED]> wrote: > #the bel

[R] plot zoo custom panel help

2008-07-25 Thread stephen sefick
#the below code is the way that I would like the plot to look. I have tried to write a panel function: my.panel <- function(x, y, ..., pf = parent.frame()) { axis(side=1, at = seq(rng[1], rng[2], 1/12), labels = n, tcl = -0.3) } #but it does not work and I am at a loss and help would be apprec