ENH: Added check to see if gnuplot exists on the system before creating graphs

This commit is contained in:
andy
2011-11-25 12:29:55 +00:00
parent 68ca920486
commit 636145b9b7
4 changed files with 20 additions and 0 deletions

View File

@ -1,5 +1,10 @@
#!/bin/sh
type -P gnuplot &>/dev/null || {
echo "gnuplot not found - skipping graph creation" >&2
exit 1
}
gnuplot<<EOF
set terminal postscript eps color enhanced "Helveicta,20"
set output "OF_vs_CHEMKINII.eps"

View File

@ -1,5 +1,10 @@
#!/bin/sh
type -P gnuplot &>/dev/null || {
echo "gnuplot not found - skipping graph creation" >&2
exit 1
}
gnuplot<<EOF
set terminal postscript eps color enhanced "Helvetica,20"
set output "OF_vs_CHEMKINII.eps"

View File

@ -1,5 +1,10 @@
#!/bin/sh
type -P gnuplot &>/dev/null || {
echo "gnuplot not found - skipping graph creation" >&2
exit 1
}
gnuplot<<EOF
set terminal postscript eps color enhanced "Helvetica,20"
set output "OF_vs_CHEMKINII.eps"

View File

@ -1,5 +1,10 @@
#!/bin/sh
type -P gnuplot &>/dev/null || {
echo "gnuplot not found - skipping graph creation" >&2
exit 1
}
gnuplot<<EOF
set terminal postscript eps color enhanced "Helvetica,20"
set output "OF_vs_CHEMKINII.eps"