📜  scilab plot 2d 函数 - Matlab 代码示例

📅  最后修改于: 2022-03-11 15:01:04.034000             🧑  作者: Mango

代码示例1
x = [-5 : 0.1 : 5];
function y = f(x)
    y = 3 * x^2
endfunction

//to trace your 2D function use plot2d() like this :
plot2d(x, f(y))