You have to set A and B in x and y : library(plotly) A <- B <- seq(-5, 5, by = 0.2) z <- outer(A, B, function(x,y) exp(-x^2-y^2)) plot_ly(x ...
確定! 回上一頁