Skip to content

Commit

Permalink
Merge pull request #164 from mattdturner/timeseries_fontsize
Browse files Browse the repository at this point in the history
Include grid cell initial condition in title
  • Loading branch information
eclare108213 committed Feb 13, 2018
2 parents 3e6b077 + 49a4413 commit 0fcee3a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions configuration/scripts/tests/timeseries.csh
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,14 @@ foreach field ($fieldlist:q)
endif

set output = `echo $fieldname | sed 's/ /_/g'`
set output = "${basename}_${output}.png"
set casename = `echo $basename | rev | cut -d / -f 1-2 | rev | sed 's/\//, /'`
set fname_base = "${casename}_${output}"
set output_fname = "${basename}_${output}.png"

echo "Plotting data for '$fieldname' and saving to $output"
echo "Plotting data for '$fieldname' and saving to $output_fname"

# Call the plotting routine, which uses the data in the data.txt file
gnuplot << EOF > $output
gnuplot << EOF > $output_fname
# Plot style
set style data points
Expand All @@ -93,9 +95,9 @@ set format x "%Y/%m/%d"
# Axis tick marks
set xtics rotate
set title "Annual ICEPACK Test $field (Diagnostic Print)"
set ylabel "$field"
set xlabel "Simulation Day"
set title "$fname_base"
set ylabel "$field"
set xlabel "Simulation Day"
# Set y-axis limits
$yrange
Expand Down

0 comments on commit 0fcee3a

Please sign in to comment.