Update graphic.R

from graphicV4.R
Merge pull request #4 from sunyoungshin/patch-4

Update graphic.R