how to plot a 2D graph on top of a 3D surf
4 ビュー (過去 30 日間)
古いコメントを表示
i have a PSD spectrogram and want to plot on top of that a time series graph. In the link is what i want to achieve:<https://docs.google.com/file/d/0B61s6H8F7eyNVXFCNFVseFFaUUE/edit?usp=sharing>
Any idea?
2 件のコメント
José-Luis
2013 年 5 月 23 日
Such a plot is not going to happen automagically. I suggest you look into patch() and arm yourself with some patience. surf() could also work, depending on the kind of data you have.
回答 (1 件)
Iain
2013 年 5 月 23 日
I can't see the link, but if you have a surf, you can simply issue the commands:
hold on
plot3(x,y,z,colour)
To plot a line arbitrarily over/around/behind your surf. Set x, y or z = to a constant, and you can plot a line on an arbitrary plane.
3 件のコメント
Jan
2013 年 5 月 23 日
@effess: Please post the code you have created so far an explain "did not succeed" with all necessary details.
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!