Search:

Return to previous page

Contents of file 'poincare/polstate.mp':



    1   %%
    2   %% This Filename:  polstate.mp   [MetaPost source]
    3   %% Creation time:  Wed Apr 19 22:18:57 2000
    4   %%
    5   %% Copyright (C) 1997-98, Fredrik Jonsson <fredrik@physics.kth.se>
    6   %%
    7   
    8   path ppa, ppb, ppc, ppd, ppe, ppf, ppg, pph;
    9   
   10   %%
   11   %% Coordinate system for LCP
   12   %%
   13   ahangle  := 30;
   14   ahlength := 5pt;
   15   drawarrow (3.3cm,3cm)--(4.9cm,3cm);
   16   label.top(btex $x$ etex, (4.9cm,3cm));
   17   drawarrow (4cm,2.3cm)--(4cm,3.9cm);
   18   label.rt(btex $y$ etex, (4cm,3.9cm));
   19   label.top(btex $({\rm LCP})$ etex, (5.1cm,3.8cm));
   20   
   21   %%
   22   %% Coordinate system for RCP
   23   %%
   24   ahangle  := 30;
   25   ahlength := 5pt;
   26   drawarrow (3.3cm,-3cm)--(4.9cm,-3cm);
   27   label.top(btex $x$ etex, (4.9cm,-3cm));
   28   drawarrow (4cm,-3.7cm)--(4cm,-2.1cm);
   29   label.rt(btex $y$ etex, (4cm,-2.1cm));
   30   label.top(btex $({\rm RCP})$ etex, (5.1cm,-2.2cm));
   31   
   32   %%
   33   %% Coordinate system for linearly polarized light, with
   34   %% polarization ellipse oriented 45 degrees to the x-axis
   35   %%
   36   ahangle  := 30;
   37   ahlength := 5pt;
   38   drawarrow (3.3cm,0cm)--(4.9cm,0cm);
   39   label.top(btex $x$ etex, (4.9cm,0cm));
   40   drawarrow (4cm,-0.7cm)--(4cm,0.9cm);
   41   label.rt(btex $y$ etex, (4cm,0.9cm));
   42   label.top(btex $({\rm lin.\,pol.})$ etex, (5.1cm,0.8cm));
   43   
   44   %%
   45   %% Coordinate system for linearly polarized light, with
   46   %% polarization ellipse oriented along the x-axis
   47   %%
   48   ahangle  := 30;
   49   ahlength := 5pt;
   50   drawarrow (3.3cm-9cm,0cm)--(4.9cm-9cm,0cm);
   51   label.top(btex $x$ etex, (4.9cm-9cm,0cm));
   52   drawarrow (4cm-9cm,-0.7cm)--(4cm-9cm,0.9cm);
   53   label.rt(btex $y$ etex, (4cm-9cm,0.9cm));
   54   label.top(btex $({\rm lin.\,pol.})$ etex, (-6cm,0.8cm));
   55   
   56   %%
   57   %% Coordinate system for elliptically polarized light, with
   58   %% polarization ellipse oriented along the x-axis
   59   %%
   60   ahangle  := 30;
   61   ahlength := 5pt;
   62   drawarrow (-5.7cm,3cm)--(4.9cm-9cm,3cm);
   63   label.top(btex $x$ etex, (4.9cm-9cm,3cm));
   64   drawarrow (-5cm,2.3cm)--(4cm-9cm,3.9cm);
   65   label.rt(btex $y$ etex, (4cm-9cm,3.9cm));
   66   label.top(btex $({\rm ellip.\,pol.})$ etex, (-6cm,3.8cm));
   67   
   68   %%
   69   %% Coordinate system for elliptically polarized light, with
   70   %% polarization ellipse oriented 45 degrees to the x-axis
   71   %%
   72   ahangle  := 30;
   73   ahlength := 5pt;
   74   drawarrow (-5.7cm,-3cm)--(4.9cm-9cm,-3cm);
   75   label.top(btex $x$ etex, (4.9cm-9cm,-3cm));
   76   drawarrow (-5cm,2.3cm-6cm)--(4cm-9cm,-2.1cm);
   77   label.rt(btex $y$ etex, (4cm-9cm,3.9cm-6cm));
   78   label.top(btex $({\rm ellip.\,pol.})$ etex, (-6cm,3.8cm-6cm));
   79   
   80   pickup pencircle scaled 1.2pt;
   81   ahangle  := 45;
   82   ahlength := 3pt;
   83   %%
   84   %% Direction of rotation for LCP
   85   %%
   86   ppa = halfcircle scaled 1cm rotated -45 shifted (4cm,3cm);
   87   draw ppa;
   88   ppb = halfcircle scaled 1cm rotated 45 shifted (4cm,3cm);
   89   drawarrow ppb;
   90   %%
   91   %% Direction of rotation for RCP
   92   %%
   93   ppc = halfcircle scaled 1cm rotated -45 xscaled -1 shifted (4cm,-3cm);
   94   draw ppc;
   95   ppd = halfcircle scaled 1cm rotated 45 xscaled -1 shifted (4cm,-3cm);
   96   drawarrow ppd;
   97   %%
   98   %% Direction of rotation for elliptically polarized light
   99   %% with main axis along the x-axis
  100   %%
  101   ppe = halfcircle scaled 1cm rotated -60 yscaled 0.5 shifted (-5cm,3cm);
  102   draw ppe;
  103   ppf = halfcircle scaled 1cm rotated 60 yscaled 0.5 shifted (-5cm,3cm);
  104   drawarrow ppf;
  105   %%
  106   %% Direction of rotation for elliptically polarized light
  107   %% with main axis 45 degrees to the x-axis
  108   %%
  109   ppg = halfcircle scaled 1cm rotated -45 yscaled -0.5
  110             rotated (45+180) shifted (-5cm,-3cm);
  111   draw ppg;
  112   pph = halfcircle scaled 1cm rotated 90 yscaled -0.5
  113             rotated (45+180) shifted (-5cm,-3cm);
  114   drawarrow pph;
  115   
  116   %%
  117   %% Direction of polarization for linearly polarized light
  118   %%
  119   drawarrow (4cm,0cm)--(4cm+0.707cm/2,0.707cm/2);
  120   drawarrow (4cm,0cm)--(4cm-0.707cm/2,-0.707cm/2);
  121   drawarrow (-5cm,0cm)--(-4.5cm,0cm);
  122   drawarrow (-5cm,0cm)--(-5.5cm,0cm);
  123   
  124   %%
  125   %% Indicators for position on the Poincare sphere
  126   %%
  127   pickup pencircle scaled 0.2pt;
  128   draw (3cm,3cm)--(1cm,3cm)--(0.18cm,2.52cm);
  129   draw (3cm,0cm)--(1.8cm,0cm)--(0.95cm,-0.51cm);
  130   draw (3cm,-3cm)--(1cm,-3cm)--(0.18cm,-2.52cm);
  131   draw (-3.6cm,3cm)--(-3cm,3cm)--(-1.65cm,1.65cm);
  132   draw (-3.6cm,0cm)--(-3cm,0cm)--(-2.4cm,-0.18cm);
  133   draw (-3.6cm,-3cm)--(-2cm,-3cm)--(0.65cm,-1.8cm);
  134   

Return to previous page

Generated by ::viewsrc::

Last modified Wednesday 15 Feb 2023