I have defined a function $\sigma(\theta, \phi)$ (With the same angles defined by spherical coordenates) for the induced charge on a sphere with constant radius $R$, but my problem lies that I dont know how to plot this values in the surface of that sphere, any ideas in how can I do this, becuase SphericalPlot3D seems to takes functions that depend on $r$ but in doesnt take function of two varables.

General plot Spherical Plot

  • 3
    $\begingroup$ Give this a try $\endgroup$ – Jason B. Aug 24 '17 at 19:49
  • $\begingroup$ I have seen it but I dont truly understand where am I supposed to put my function? $\endgroup$ – Mauricio Aug 24 '17 at 19:53
  • 1
    $\begingroup$ The very first code block is quite short and Cos[5 θ] + Cos[4 Φ]/2 fits sigma description. p.s. do you know him: 154311 Either way, without any effort and function to work with this question is most likely going to be closed. Please see asking guidelines $\endgroup$ – Kuba Aug 24 '17 at 20:00
  • $\begingroup$ @Mauricio - the point in that answer is that you supply your function just as the ColorFunction, and the "function" that you supply as the first argument to SphericalPlot3D is just 1 $\endgroup$ – Jason B. Aug 24 '17 at 20:02
  • 2
    $\begingroup$ @Mauricio please focus, are we suppose to help you by looking at images without source code to work with? $\endgroup$ – Kuba Aug 24 '17 at 20:13

Browse other questions tagged or ask your own question.