Displaying data in 4D

4 次查看(过去 30 天)
Jacque
Jacque 2012-2-21
I'm not very accustomed to plotting complex graphs using MATLAB so any help would be sufficient.
I have to plot a series of points over time (x,y,z and time) and I was wondering how I could do this.
The x and y points are constant but the z points are calculated constantly from a for loop so how can I go about this?
And if possible, is there a way I could plot a 'moving' or 'living' graph? I don't know the complexity of the graphics function and I have very little experience in that sector
Thanks

回答(1 个)

Sean de Wolski
Sean de Wolski 2012-2-21
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

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by