Skip to content
Snippets Groups Projects
Select Git revision
  • 802b249e649bb7f6e5c0bd7c9be2e4baf9d674c2
  • master default protected
  • compilation2022apr
  • ISEI_3_5_1
  • VERSION_3_9-alba
  • VERSION_3_9-Indus2
  • Jianfeng
  • VERSION-3_10
  • VERSION-3_9_1
  • VERSION-3_9_alba
  • VERSION-3_9_Indus2
  • VERSION-3_9
  • VERSION-3_8
  • VERSION-3_7
  • ISEI_3_5_1-PATCH_2
  • ISEI_3_5_1-PATCH_1
  • PROD_3_5_1
  • VERSION_3_6prerelease2
  • VERSION_3_6prerelease
  • VERSION-3_5
  • tracy
21 results

pmdwkick.dat

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    beam_envelope.plt 2.77 KiB
    ps = 0; eps = 1;
    
    if (!ps) set terminal x11;
    if (ps && !eps) \
      set terminal postscript enhanced color solid lw 2 "Times-Roman" 20;
    if (ps && eps) \
      set terminal postscript eps enhanced color solid lw 2 "Times-Roman" 20;
    
    set grid;
    
    set style line 1 lt 1 lw 1 lc rgb "blue";
    set style line 2 lt 1 lw 1 lc rgb "green";
    set style line 3 lt 1 lw 1 lc rgb "red";
    
    if (ps) set output "beam_envelope_1.ps"
    set title "{/Symbol e}^*_x";
    set xlabel "s [m]"; set ylabel "[nm{/Symbol \327}rad]";
    set yrange [0:];
    set y2range [-1.5:20];
    
    plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt 1 lw 1 \
         lc rgb "black", \
         "beam_envelope.out" using 3:(1e9*sqrt($4*$5-$6*$6)) \
         notitle with lines ls 1;
    
    if (!ps) pause -1;
    
    if (ps) set output "beam_envelope_2.ps"
    set title "{/Symbol e}^*_y";
    set xlabel "s [m]"; set ylabel "[nm{/Symbol \327}rad]";
    set yrange [0:];
    set y2range [-1.5:20];
    
    plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt 1 lw 1 \
         lc rgb "black", \
         "beam_envelope.out" using 3:(1e9*sqrt($7*$8-$9*$9)) notitle \
         with lines ls 1;
    
    if (!ps) pause -1;
    
    if (ps) set output "beam_envelope_3.ps"
    set title "{/Symbol s}_x";
    set xlabel "s [m]"; set ylabel "[{/Symbol m}m]";
    set yrange [0:];
    set y2range [-1.5:20];
    
    plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt 1 lw 1 \
         lc rgb "black", \
         "beam_envelope.out" using 3:(1e6*sqrt($4)) notitle with lines ls 1;
    
    if (!ps) pause -1;
    
    if (ps) set output "beam_envelope_4.ps"
    set title "{/Symbol s}_{p_x}";
    set xlabel "s [m]"; set ylabel "[{/Symbol m}rad]";
    set yrange [0:];
    set y2range [-1.5:20];
    
    plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt 1 lw 1 \
         lc rgb "black", \
         "beam_envelope.out" using 3:(1e6*sqrt($5)) notitle with lines ls 1;
    
    if (!ps) pause -1;
    
    if (ps) set output "beam_envelope_5.ps"
    set title "{/Symbol s}_y";
    set xlabel "s [m]"; set ylabel "[{/Symbol m}m]";
    set yrange [0:];
    set y2range [-1.5:20];
    
    plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt 1 lw 1 \
         lc rgb "black", \
         "beam_envelope.out" using 3:(1e6*sqrt($7)) notitle with lines ls 3;
    
    if (!ps) pause -1;
    
    if (ps) set output "beam_envelope_6.ps"
    set title "{/Symbol s}_{p_y}";
    set xlabel "s [m]"; set ylabel "[{/Symbol m}rad]";
    set yrange [0:];
    set y2range [-1.5:20];
    
    plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt 1 lw 1 \
         lc rgb "black", \
         "beam_envelope.out" using 3:(1e6*sqrt($8)) notitle with lines ls 3;
    
    if (!ps) pause -1;
    
    if (ps) set output "beam_envelope_7.ps"
    set title "Transverse Coupling Angle";
    set xlabel "s [m]"; set ylabel "[{/Symbol \260}]";
    set autoscale y;
    set y2range [-1.5:20];
    
    plot "linlat.out" using 3:4 axis x1y2 notitle with fsteps lt 1 lw 1 \
         lc rgb "black", \
         "beam_envelope.out" using 3:10 notitle with lines ls 1;
    
    if (!ps) pause -1;