Skip to content
Snippets Groups Projects
Select Git revision
  • 3dfa8542047ec220f9c19cf16b056a5418529d9c
  • 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

cod.plt

Blame
  • user avatar
    nadolski authored
    66664f7d
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    cod.plt 1.61 KiB
    ps = 0; eps = 0;
    
    font_size = 30; line_width = 2;
    if (!ps) set terminal x11;
    if (ps && !eps) \
      set terminal postscript enhanced color solid \
      lw line_width "Times-Roman" font_size;
    if (ps && eps) \
      set terminal postscript eps enhanced color solid \
      lw line_width "Times-Roman" font_size;
    
    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 "cod_1.ps"
    set title "Horizontal Closed Orbit";
    set xlabel "s [m]";
    set ylabel "x [mm]";
    set y2range [-1.5:20];
    plot "cod.out" using 3:4 axis x1y2 notitle with fsteps lt 1 lw 1 \
         lc rgb "black", \
         "cod.out" using 3:9 notitle with impulses ls 1;
    if (!ps) pause -1;
    
    if (ps) set output "cod_2.ps"
    set title "Vertical Closed Orbit";
    set xlabel "s [m]";
    set ylabel "y [mm]";
    set y2range [-1.5:20];
    plot "cod.out" using 3:4 axis x1y2 notitle with fsteps lt 1 lw 1 \
         lc rgb "black", \
         "cod.out" using 3:10 notitle with impulses ls 3;
    if (!ps) pause -1;
    
    if (ps) set output "cod_3.ps"
    set title "Horizontal Corrector Strength";
    set xlabel "s [m]";
    set ylabel "{\Symbol t}_x [mrad]";
    set y2range [-1.5:20];
    plot "cod.out" using 3:4 axis x1y2 notitle with fsteps lt 1 lw 1 \
         lc rgb "black", \
         "cod.out" using 3:13 notitle with impulses ls 1;
    if (!ps) pause -1;
    
    if (ps) set output "cod_4.ps"
    set title "Vertical Corrector Strength";
    set xlabel "s [m]";
    set ylabel "{\Symbol t}_y [mrad]";
    set y2range [-1.5:20];
    plot "cod.out" using 3:4 axis x1y2 notitle with fsteps lt 1 lw 1 \
         lc rgb "black", \
         "cod.out" using 3:14 notitle with impulses ls 3;
    if (!ps) pause -1;