[Haskell-cafe] Choosing color of the track

Eugene Kirpichov ekirpichov at gmail.com
Tue Sep 18 07:48:54 CEST 2012


Hi,

I'm the author and I'll reply tomorrow, sorry, going to sleep now :) thanks for the interest in the tools anyway!



17.09.2012, в 21:40, Manish Trivedi <trivmanish at gmail.com> написал(а):

> Hi Folks,
> 
> I am trying to plot two tracks with different colors.
> Following is my input file,
> 
> ------
> 2012-09-18 00:10:48,166 @CurrentPerHour13057 Red
> 2012-09-18 00:10:48,166 =CurrentPerHour13057 0.0
> 2012-09-18 00:10:58,155 =CurrentPerHour13057 0.0
> 2012-09-18 00:11:08,203 =CurrentPerHour13057 0.0
> 2012-09-18 00:11:18,166 =CurrentPerHour13057 0.0
> 2012-09-18 00:11:28,159 =CurrentPerHour13057 0.0
> 2012-09-18 00:11:38,170 =CurrentPerHour13057 0.0
> 2012-09-18 00:11:48,175 =CurrentPerHour13057 0.0
> 2012-09-18 00:11:58,174 =CurrentPerHour13057 0.0
> 2012-09-18 00:12:08,216 =CurrentPerHour13057 0.0
> 2012-09-18 00:12:18,218 =CurrentPerHour13057 0.0
> 2012-09-18 03:58:28,159 @PacingReqPerHr13057 Blue
> 2012-09-18 03:58:28,159 =PacingReqPerHr13057 2375.0534412521242
> 2012-09-18 03:58:38,161 =PacingReqPerHr13057 2375.383005739316
> 2012-09-18 03:58:48,175 =PacingReqPerHr13057 2375.713057258422
> 2012-09-18 03:58:58,160 =PacingReqPerHr13057 2376.0422443063935
> 2012-09-18 03:59:08,192 =PacingReqPerHr13057 2376.3730727321126
> 2012-09-18 03:59:18,207 =PacingReqPerHr13057 2375.9038854561304
> 2012-09-18 03:59:28,168 =PacingReqPerHr13057 2376.2324444615497
> 2012-09-18 03:59:38,156 =PacingReqPerHr13057 2376.5619853019184
> 2012-09-18 03:59:48,160 =PacingReqPerHr13057 2376.892145685344
> 2012-09-18 03:59:58,160 =PacingReqPerHr13057 2377.222265743067
> -----
> 
> tplot -o /root/color.png  -or 1024x768 -k 'CurrentPerHour' 'lines' -k 'PacingReqPerHr' 'lines' -if /root/color.input -tf 'date %Y-%m-%d %H:%M:%OS'
> 
> I cant get to print plots in different color. Could anyone point out what am I doing wrong?
> 
> Thanks,
> Manish
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list