프로그래밍 Programming
Information Visualization (8) - R 그래픽 기초 (점 추가하기 Adding Points To A Plot)
문장전달자
2014. 10. 18. 19:13
728x90
형식은 다음과 같음
points(x, y, pch=int, col=str)
pch | 점의 모양 결정하는 것으로, 1~25 사이의 값은 그래픽 심볼, 33~126 사이의 값은 아스키코드(ASCII code)에서 가져옴 특히 21~25 사이의 값에는 경계선의 색(col=)과 배경색(bg=) 옵션 있음 <1~25>
이미지출처 http://www.statmethods.net/advgraphs/parameters.html <33~126> 아스키코드 이미지출처 http://www.asciichars.com/ |
col | "red", "lightblue" 등과 같이 경계선 색상 설정 |
728x90