Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- GitHub
- Shell
- OTLanguage
- Python
- 개발노트
- Spring
- Godot
- Vane
- IntelliJ
- boj
- gnuplot
- Android
- 루비
- ruby
- ruby2d
- kotlin
- C
- CPP
- JS
- maven
- RaspberryPi
- jetbrains
- Java
- gradle
- error
- react
- rubymine
- plugin
- OAuth
- Baekjoon
Archives
- Today
- Total
목록cos (2)
PersesTitan(페르) 기술블로그

관련된 글 [Ruby] 루비로 sin 그래프 구현하기 [Ruby] 루비로 sin 그래프 구현하기 관련된 글 [Ruby] 루비에서 그래프 구현하기 (gnuplot 설치) [Ruby] 루비에서 그래프 구현하기 (gnuplot 설치) 먼저 homebrew가 설치가 되어 있어야합니다. 그리고 아래 커맨드를 터미널에 입력해서 gnuplot를 persestitan.tistory.com 풀이 sin 그래프를 이미 구현하셨다면 해당 코드에서 코드에서 sin을 cos으로 변경만하면 됩니다. 코드 require 'gnuplot' Gnuplot.open do |g| Gnuplot::Plot.new(g) do |plot| x = (-5..5).step(0.1).collect { |v| v.to_f.round 1 } y = x..
Language/Ruby
2023. 4. 12. 09:49