Skip to content

Instantly share code, notes, and snippets.

@ceptreee
Last active May 28, 2020 12:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ceptreee/da235d1399e8e13e338646e2cb11ce0e to your computer and use it in GitHub Desktop.
Save ceptreee/da235d1399e8e13e338646e2cb11ce0e to your computer and use it in GitHub Desktop.
a = "(」・ω・)「"
b = "(「・ω・)」"
do for [i=1:100]{
if (i % 2 == 0) {
set title a font "Arial, 24"
plot x
} else {
set title b font "Arial, 24"
plot x**2
}
pause 0.3
}
a = "(」・ω・)「"
b = "(「・ω・)」"
c = ""
do for [i=1:100]{
if (i % 2 == 0) {
d = c.a
set title d font "Arial, 24"
plot x
} else {
d = c.b
set title d font "Arial, 24"
plot x**2
}
set yrange [-1:1]
set xrange [-1:1]
pause 0.2
c = c."("
}
hai1 = "(」・ω・)」ハイ"
hai2 = "(」・ω・)「ハイ"
hai3 = "(「・ω・)「ハイ"
hai4 = "(「・ω・)」ハイ"
do for [i=1:100]{
if (i % 4 == 0) {
set title hai1 font "Arial, 24"
plot x
}
if (i % 4 == 1) {
set title hai2 font "Arial, 24"
plot x**2
}
if (i % 4 == 2) {
set title hai3 font "Arial, 24"
plot x**3
}
if (i % 4 == 3) {
set title hai4 font "Arial, 24"
plot x**4
}
set yrange [-1:1]
set xrange [-1:1]
pause 0.3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment