[R] Adding axis limit to log-log plot

2006-03-16 Thread Abd Rahman Kassim
Dear All, I've tried to add axis limit ( e.g. ylim=c(0,50)) to the log-log plot, but it turn out to be error (see below). Any solution is much appreciated. plot(maxsd$tph,maxsd$qdbh,log=xy,xlab=Stand density(trees per ha),ylab=Quadratic mean dbh (cm),ylim=c(0,50)) Error in

Re: [R] Adding axis limit to log-log plot

2006-03-16 Thread jim holtman
You need to come up some better limits. log(0) - -Inf On 3/16/06, Abd Rahman Kassim [EMAIL PROTECTED] wrote: Dear All, I've tried to add axis limit ( e.g. ylim=c(0,50)) to the log-log plot, but it turn out to be error (see below). Any solution is much appreciated.

Re: [R] Adding axis limit to log-log plot

2006-03-16 Thread Abd Rahman Kassim
Dear Jim, Thanks for the suggestion. It works when I change the limit to non-zero. Abd. Rahman Kassim - Original Message - From: jim holtman To: Abd Rahman Kassim Cc: r-help@stat.math.ethz.ch Sent: Thursday, March 16, 2006 7:49 PM Subject: Re: [R] Adding axis limit to log