[Haskell-cafe] Choosing color of the track

Manish Trivedi trivmanish at gmail.com
Tue Sep 18 06:40:19 CEST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120917/de87f573/attachment.htm>


More information about the Haskell-Cafe mailing list