Hi Nicolas & Alex,
Am 02.06.16 um 12:27 schrieb Alexandre Ferrieux:
> On Thursday, June 2, 2016 at 12:20:04 PM UTC+2, Nicolas wrote:
>> how to have the values x time ? with gnuplot it's : set data time
>> set timefmt '%H:%M:%S'
>>
>> but with Ukaz this command is not recognized
>>
> A cursory scan of the (concise) source shows no hint of the feature
> ("time" and "clock" being natural keywords). Guess you can suggest
> this extra to Christian. Being a heavy user of gnuplot, I confirm, it
> is extremely useful. So, count me as +1 :)
Yes, that's right, there is no option so far to support formatting of
time. You can set the formatstring using e.g.
.g configure -xformat %.3g
(the "set format x/y" is subcommand is just missing, would be easy to
fix), but the formatstring is passed to "format". It would be an easy
addition to have a "formatcmd" option, so that instead of "format", you
can give your own procedure. Then you could do:
set formatcmd x {apply {t} {clock format $t -format %H:%M:%S}}
or something similar.
Christian