[Tioga-users] Is there some where some example with time as axis?

rubisher rubisher at scarlet.be
Wed Sep 12 16:34:12 EDT 2007


Vincent Fourmond wrote:
>   Hello !
> 
> rubisher wrote:
>> I manage some AIX boxes on which I can collect performance data with a tool named nmon which produce csv data files.
>>
>> With ruby it's quiet easy to split this file in sub-data file related to different topics like CPU, DISK, Mem, ... and even 
>> compute average, weighted average, ... to produce plots.
>>
>> For the moment, I reach to produce some ps plots with ploticus but it didn't give me enough control on the results as could 
>> do Tioga (as far as your kind tutorial let me foreseen) as producing a daily pdf book which I can make available for 
>> management. Unfortunately I didn't find any example using time as axis. Don't you have some example of this kind or isn't it 
>> yet intregrated in this project?
> 
>  If I understand you right, you want to make a plot where the X (or Y)
> axis would be, say, a date like 11/04/06 11:40.
Right ;-)

> That is possible
> although currently a bit cumbersome with the way Tioga deals with tick
> labels. You need to convert date/time data into floats and prepare
> yourself tick labels (and tick position) with
> yaxis_locations_for_major_ticks
> and
> yaxis_tick_labels (see the function special_y in samples/plots/plots.rb).
> 
Ok I will investigate that first, ...

>   However, we were recently discussing a more powerful way to make ticks
> label that would make it nearly painless (next release).
> 
awaiting this new release. (anyway that would learn me a lot ;-) )

>   Hope you'll find Tioga suitable, cheers !
> 
> 	Vincent
> 
> 

Tx,
	r.


More information about the Tioga-users mailing list