Re: [R] r-plot help-it prints outside frame

2012-10-10 Thread Jessica Streicher
You could set xlim and slim when using plot() plot(vector,xlab="Period",ylab="Values",xlim=range(0,length(vector)+1),ylim=range(vector,est_vector,forecast)) i think - you forgot to provide data for the vectors :) On 10.10.2012, at 11:31, piranha piranha wrote: > Hello, > > i have been doing br

Re: [R] r-plot help-it prints outside frame

2012-10-10 Thread Duncan Murdoch
On 12-10-10 5:31 AM, piranha piranha wrote: Hello, i have been doing browns exponential smooting for myself and have a little trouble with plotting values: par(xpd=TRUE) The line above says "allow plotting outside the frame". plot(vector,xlab="Period",ylab="Values") legend(ma

[R] r-plot help-it prints outside frame

2012-10-10 Thread piranha piranha
Hello, i have been doing browns exponential smooting for myself and have a little trouble with plotting values: par(xpd=TRUE) plot(vector,xlab="Period",ylab="Values") legend(max(vector), legend = c("Original values", "Estimated values"), col=c("blue","red"),lwd=0.5, cex=1, xjust=0.1,