Plot of text values
Posted: Wed May 02, 2012 3:42 am
It is possible to plot a curve that is composed not by numerical values, but by text values? Example, I have a CSV file like this:
Date Color
----------------------------------
01/05/2012 00:01:00 GREEN
01/05/2012 00:02:00 GREEN
01/05/2012 00:03:00 GREEN
01/05/2012 00:04:00 YELLOW
01/05/2012 00:05:00 RED
01/05/2012 00:06:00 RED
and I want to obtain this plot:
Is this possible? If not, this will be a very useful extension, other plotting software have this option.
Date Color
----------------------------------
01/05/2012 00:01:00 GREEN
01/05/2012 00:02:00 GREEN
01/05/2012 00:03:00 GREEN
01/05/2012 00:04:00 YELLOW
01/05/2012 00:05:00 RED
01/05/2012 00:06:00 RED
and I want to obtain this plot:
Code: Select all
__ RED
_| YELLOW
___| GREEN