I want to plot a graph with 2 arrays, One is for time (X-Axis) and the other is for current (Y-Axis) but my scenario has some events like: interrupt received, timer expired or component up.
Events are strings which are present in between the elements (numbers) of array
Example:
time current
1 10
2 8
3 6
4 5
5 5
interrupt_received
6 60
component_up
7 65
8 70
... ...
... ...
I'm looking for a graph plotter to take the strings as inputs and show it on the graph with a X marker or color change is possible
Please let me know if there is any tool available to do so, or suggest ways to do it using Matlab or Octave Tool
Thanks a lot!