Here is an example of how to create a script that creates an x-y scatter plot in MatLab and adds a new point to it every time it is run:
main.m360 chars14 lines
You can save this script as a function and run it repeatedly to add new points to the graph. Calling the function hold on
before adding new data to the plot will ensure that previous data is not lost.
gistlibby LogSnag