programming/Gnuplot
sine plot 그리기
내공강화
2012. 3. 5. 00:19
기본적으로 gnuplot을 시작한 후
plot 명령과 함께 sin(x) 을 명시해주면 sine graph를 그릴 수 있다.
gnuplot> plot sin(x)
plot 명령과 함께 sin(x) 을 명시해주면 sine graph를 그릴 수 있다.
gnuplot> plot sin(x)
출력범위는 다음과 같은 문법으로 사용할 수 있다.
> plot [x축 범위] [y축 범위] sin(x)
한쪽 축의 범위만을 지정할 경우 [] 로 표시하면 된다.
> plot [] [-10,10]
> plot[-5:5][] sin(x)
> plot [][-2:2] sin(x)
반응형