Skip to content
Prev 141801 / 398498 Next

nonlinear curve fitting on a torus

Have you tried plotting it, e.g., like the following: 

      npts = 51 # or some number
      h = seq(0, ???, length=npts)
      funh <- rep(NA, npts)
      for(i in 1:npts)funh[i] <- fun(h[i])
      plot(h, funh)

      Hope this helps. 
      Spencer
Sungsu wrote: