Using contour as input for a function
Show older comments
Is it possible to use a contour plot as an input for a function? If so how?
Answers (1)
Azzi Abdelmalek
on 19 Jul 2016
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)
Categories
Find more on Contour Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!