# Basic x and y errors added to plot
temp=cbind(runif(10),runif(10),runif(10,0.05,0.2),runif(10,0.1,0.3))
magplot(temp[,1:2])
magerr(x=temp[,1],y=temp[,2],xlo=temp[,3],ylo=temp[,4])
# Example of errors on plots wityh log axes
magplot(temp[,1:2],log='xy')
magerr(x=temp[,1],y=temp[,2],xlo=temp[,3],ylo=temp[,4],log='xy')
Run the code above in your browser using DataLab