Hi,

I have defined Rosenbrock function as

*function rosenbrock(x::Vector)*
*  return (1.0 - x[1])^2 + 100.0 * (x[2] - x[1]^2)^2*
*end*

*m = rand(51,2)*

I want to check the unimodality of the function by plotting(surface as well
as contour) over the points given by rows of matrix m. Can anyone help how
this can be achieved using PyPlot?





*Yours Sincerely,*
*Ayush Pandey*     * <https://github.com/Ayush-iitkgp>    *
*LinkedIn Profile <https://www.linkedin.com/pub/ayush-pandey/66/9/a52>    *
*GitHub <https://github.com/Ayush-iitkgp>*

Reply via email to