Hi to everyone, I'm trying to plot a 3D graph on matlab but I do not know how. The function that I want to plot is: y=fminbnd(@(x) wei(x,shape,scale,tw,tf),x0,x1). I would like to plot the minimization of the function wei (y) in function of the shape and the scale. Wei is a function that I have created and only has one output. Tw and tf are known parameters, and x0, x1 the range where I want to optimize the function, as well known. To sum up, I want to plot y, shape and scale in the same graph. Thanks!