yaxis.hy <- function(mat){
# mat : d by n matrix
tempmax <- max(mat) ;
tempmin <- min(mat) ;
templen <- tempmax-tempmin ;
return(c(tempmin-0.002*templen, tempmax+0.002*templen)) ;
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.