Plot 2 Matrix or surf
显示 更早的评论
Hey! I surf map1 from "mapmtx map1" and its look like this:
I want to add a path. the path it`s a other matrix that have a coordinates on the map. How i can plot the 2 matrix? if i click the 2 matrixs together and I click "plots" it`s not working...
Thank you all!
采纳的回答
更多回答(1 个)
Image Analyst
2016-1-3
If you want them side by side and they are the same size you can stitch them together before calling surfs
surf([matrix1, matrix2]);
Or you can treat as images and use imshowpair() or imfuse().
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!