You could plto it with time by using a for-loop with pause() or even better a timer. To plot in 3d, there are many tools, it depends on what type of visualization you want. Some places to look:
doc scatter3
doc mesh
And references for above:
doc timer
doc pause