Last active
August 29, 2015 14:14
-
-
Save ikarino/a22278835260e603385c to your computer and use it in GitHub Desktop.
System commands from gnuplot macro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/gnuplot | |
set term pngcairo | |
set output "sinx.png" | |
set xlabel "X" font "Helvetica, 30" | |
plot \ | |
sin(x) lt 1 t'line type 1' | |
!open sinx.png | |
set term post enh color | |
set output "cosx.eps" | |
plot \ | |
cos(x) lt 3 lc rgb "red" not | |
!convert cosx.eps -density 300 -rotate 90 cosx.png | |
!open cosx.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment