I have the following data of continuous time Markov chain. Time - [1] 0.00000000 0.01219893 0.35903929 0.69378720 0.77247183 1.56008543 [7] 1.80607724 2.59023990 2.87196272 3.05311707 3.14737319 3.20758500 [13] 3.26668915 3.42428440 3.53324567 3.83668537 3.96784473 4.17196149 [19] 4.29982361 4.46163281 4.78519834 5.20381355 5.65441135 5.78623851 [25] 6.07602075 6.10351864 6.37001057 6.62859413 6.67422094 6.86338654 [31] 7.01586889 State (4 states, 0 - 3) 0 1 0 1 0 1 0 1 0 1 2 3 2 3 2 3 2 1 2 3 2 3 2 3 2 3 2 3 2 3 2 I want to map States against these times. I tried stepfun but is a wrong choice I guess. What should I use? Please advice. Atul. -- Atul S. Kulkarni Graduate Student, Department of Computer Science, University Of Minnesota, Duluth, MN 55812. www.d.umn.edu/~kulka053 --------------------------------------------------------- "Before you start some work, always ask yourself three questions - Why am I doing it, What the results might be and Will I be successful. Only when you think deeply and find satisfactory answers to these questions, go ahead." Chanakya quotes (Indian politician, strategist and writer, 350 BC-275 BC) [[alternative HTML version deleted]]