I was wondering if there was not a gnuplot command to do this but help
date did not help.
I am trying to automatically add the date to the title of a plot.
for some reason the following does not respect the -n option and adds
system "echo -n 'date= \"' >".datefile." ; date '+%D'>>".datefile."\""
finally got what I want with this:
system "today=\'date= \"\'`date '+%D'`\'\"\'; echo $today>".datefile
If this is not just a feature I cannot find, could it be added? Gnuplot
already parses all the std date format args, it would presumably be
trivial to add.
today = date("+%D");