Created
October 14, 2013 23:42
-
-
Save yichao0319/6984216 to your computer and use it in GitHub Desktop.
perl:gnuplot mother
This file contains hidden or 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
my $cmd = "sed 's/DATA_DIR/xxx/g; s/FIG_DIR/xxx/g; s/FILE_NAME/xxx/g; s/FIG_NAME/xxx/g; s/DEGREE/xxx/g; s/X_LABEL/xxx/g; s/Y_LABEL/xxx/g; s/X_RANGE_S/xxx/g; s/X_RANGE_E/xxx/g; s/Y_RANGE_S/xxx/g; s/Y_RANGE_E/xxx/g; s/TITLE_1/xxx/g; s/TITLE_2/xxx/g;' xxx.mother > tmp.xxx"; | |
`$cmd`; | |
$cmd = "gnuplot tmp.xxx"; | |
`$cmd`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment