04-15-2008 04:59 AM
04-15-2008 08:59 AM
A couple of options come to mind. One is to use cursors. At each x location where an event is detected, you can place a vertical cursor. Use a different color for each type of event and add a cursor name. See the example Programatically Control Cursors.
Use annotations. You can annotate x,y locations. See the example called Programtically Annotate a Graph.
Use a sepearate plot for each type of event. When you read the file, create a separate array for each event type. Fill the non-event locations in the array with -inf. When plotted, the -inf values cannot be seen. The plot can be set for no interpolation and fill base line to -inf to give the effect of vertical lines wherever the event is.