add new applications
This commit is contained in:
parent
581a030235
commit
7656408f57
1
convert_to_video
Normal file
1
convert_to_video
Normal file
@ -0,0 +1 @@
|
|||||||
|
ffmpeg -f image2 -framerate 20 -i test%03d.png -s 1024x1024 -c:v libvpx-vp9 -lossless 1 test.webm
|
18
max_slope.plt
Normal file
18
max_slope.plt
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
set log x
|
||||||
|
set y2tics
|
||||||
|
set xrange [exp(-1):1]
|
||||||
|
set yrange [1.5:2]
|
||||||
|
set y2range [1.98:2.1]
|
||||||
|
set grid
|
||||||
|
|
||||||
|
# set terminal pngcairo enhanced size 1500,1000
|
||||||
|
# set output "output/max_slope.png"
|
||||||
|
|
||||||
|
plot "output/max_slope_1621.dat" using 1:3 w lp pt 7 ps 0.6 lw 2 t "1621 elements", \
|
||||||
|
"output/max_slope_24428.dat" using 1:3 w lp pt 7 ps 0.6 lw 2 t "24428 elements", \
|
||||||
|
"output/max_slope_94252.dat" using 1:3 w lp lw 2 pt 7 ps 0.6 t "94252 elements", \
|
||||||
|
"output/max_slope_713698.dat" using 1:3 w lp lw 2 pt 7 ps 0.6 t "713698 elements", \
|
||||||
|
"output/max_slope_1621.dat" using 1:2 w p pt 7 ax x1y2 t "parameter"
|
||||||
|
|
||||||
|
pause mouse keypress
|
||||||
|
if(MOUSE_KEY != 113) reread
|
23
singular_values_movie.plt
Normal file
23
singular_values_movie.plt
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
if(!exists("i")) i = 0
|
||||||
|
|
||||||
|
file = sprintf("< ./singular_values %f 1.78", exp((i-50)*0.02))
|
||||||
|
|
||||||
|
set samples 1000
|
||||||
|
set size square
|
||||||
|
set xrange [0:30]
|
||||||
|
set yrange [0:30]
|
||||||
|
set trange [0:30]
|
||||||
|
set grid
|
||||||
|
set parametric
|
||||||
|
|
||||||
|
set terminal pngcairo enhanced size 1024,1024
|
||||||
|
img = sprintf("output/animation/test%03d.png", i);
|
||||||
|
print sprintf("write %s", img)
|
||||||
|
set output img
|
||||||
|
|
||||||
|
plot file using 6:7 w p pt 7 ps 0.5 lc 1 t columnheader, \
|
||||||
|
t,2*t w l lw 2 t "", \
|
||||||
|
t,t/2 w l lw 2 t ""
|
||||||
|
|
||||||
|
i=i+1
|
||||||
|
if(i <= 100) reread
|
Loading…
Reference in New Issue
Block a user