Page 1 of 1

Change time format in x-axis

Posted: Thu Jan 02, 2014 10:23 pm
by lubuwetter
Hi everybody,

how can I change the displayed time format (x-axis) in a non interactive chart?
I have a chart which displays 1 Year and I don't like the displayed time format

Code: Select all

12:00   22:00
Mi         Sa
1.Jan   1.Feb
I only want the months to be displayed.
Is that possible?

thx for your help

Michael

Re: Change time format in x-axis

Posted: Sun Jan 05, 2014 5:14 pm
by admin
You might smuggle in some gnuplot commands. Did you had a look at the gnuplot manual to find out the command to change x-axis style?

Re: Change time format in x-axis

Posted: Tue Jan 07, 2014 1:00 pm
by lubuwetter
Maybe something like this

Code: Select all

set format x "%H:%M:%S"
But where to put this in the graph definitions in meteoplug?

regards
Michael

Re: Change time format in x-axis

Posted: Tue Jan 07, 2014 1:50 pm
by lubuwetter
Ok I did it.
The solution looks like this

Code: Select all

ggpformat=set_format_x_"%b";set_locale_"de__DE"
thanks for the help

Michael