Using contour as input for a function
显示 更早的评论
Is it possible to use a contour plot as an input for a function? If so how?
回答(1 个)
Azzi Abdelmalek
2016-7-19
You can use the handle of your plot. Example
function y=your_function(h)
y=get(h)
To call the function
handle_h=plot(sin(1:100))
y=your_function(gcf)
类别
在 帮助中心 和 File Exchange 中查找有关 Contour Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!