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
Azzi Abdelmalek 2016년 7월 19일

0 개 추천

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에 대해 자세히 알아보기

질문:

D L
2016년 7월 19일

답변:

2016년 7월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by