I fully understand to plot all of the data. Such as:
set xdata time
set timefmt "%Y/%m/%d"
set format x "%b %d"
set xlabel "Date"
set ylabel "Frequency"
set grid
set xrange ["1999/01/01":"2009/09/30"]
set terminal png
set title "Overall"
set nokey
set output "overall.png"
plot "frequencies.txt" using 1:2 with boxes
Bu i want to automate plotting procedure in a monthly basis such that,
for example, for a particular i can get 12 graphs of this particular
year with correct titles like "January 1999" or simply "January". Is
there anyone to help me?
Thanks in advance.
Sorry for typos. For the very first paragraph, i 'd mean "figure
out" , and in the last paragraph it should be "for a particular
year"...
Hi,
I achieve gnuplot automation using Perl.
I use Perl scripts to generate a gnuplot command file,
and then call gnuplot from within Perl to use that command file.
Could also use bash scripts, but for handling time/date I prefer Perl.
Good luck,
Peter
Hi, thanks for the reply. I've achieved my goal through a bash script.
The following URL gave some clues about how to handle such conditions.
http://ac12.wordpress.com/2007/03/26/automation-for-the-win/
In that case, the good old crontab is the perfect tool.
Do a man cron and man crontab for all the details but, quickly, it's the
basic Unix programm that helps you launching shell script or command at
predefined time on a regular basis.
Therefore, if you wanna generate your charts every month with gnuplot,
cron will call it for you.
Cheers,
David
In that case, the good old crontab is the perfect tool.
Do a man cron and man crontab for all the details but, quickly, it's the
basic Unix programm that helps you launching shell script or command at
predefined time on a regular basis.
Therefore, if you wanna generate your charts every month with gnuplot,
cron will call it for you.
Cheers,
David
>> Hi,