Commit e5459608 authored by Michele Maris's avatar Michele Maris
Browse files

u

parent 98de77cd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ class stereographic :
   def plot(self,xyz,**karg) :
      theta,radius=self.project(xyz)
      plt.polar(theta[0],radius[0],'o',markersize=8,color='gray')
      plt.polar(theta[1],radius[1],'o',markersize=6,color='gray')
      plt.polar(theta,radius,**karg)
      plt.show()

@@ -106,9 +107,9 @@ h=2; sh = np.sin(np.deg2rad(h))
z=(1-sw**2-sh**2)**0.5
V=np.array([
    [ sw, sh, z]
   ,[ sw,-sh, z]
   ,[-sw,-sh, z]
   ,[-sw, sh, z]
   ,[-sw,-sh, z]
   ,[ sw,-sh, z]
   ,[ sw, sh, z]
   ])