Draw Thomson cross section in polar plot by matlab

1 reply · 3K views · last reply
Lisa!
Gold Member
Messages
672
Reaction score
96
Well I'm supposed to draw Thomson cross section in polar plot by MATLAB software. Have I done it right? I mean does this figure that I got seem to be in polar plot or not?

Code:
t = 0:.01:2*pi;
r =  2.8179e-13
x =  t,0.5*power(r,2)*(1+power(cos(t),2))
polar(t,x)
Thanks
 
Attachments
  • Polar plot in MATLAB of a single blue curve on dashed polar grid, elongated horizontally along the 0 and 180 degree axis, with radial tick labels 2e-026, 4e-026, 6e-026 and 8e-026.
    plr1.jpg
    32.1 KB · Views: 733
  • Cartesian line plot of a periodic curve with two peaks and two troughs over x from 0 to about 6.3, y axis scaled by 10^-26 ranging from about 4 to 8, not a polar plot.
    th1.jpg
    18.2 KB · Views: 534