figure Rcode x3