added commands on plotting