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

dynap_Dk.plt

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    dynap_Dk.plt 1.38 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 palette rgbformulae 22, 13, -31;
    unset colorbox;
    
    if (ps) set output "dynap_Dk.ps"
    
    if (1) \
      set title "Dynamic Aperture vs. {/Symbol D}b_2/b_2"; \
      set xlabel "x [mm]"; set ylabel "y [mm]"; \
      plot "dynap.out" using 1:2 title "Bare Lattice" \
           with linespoints lt palette frac 0.0, \
           "1e-4/dynap.out" using 1:2 title "{/Symbol D}b_2/b_2=1e-4" \
           with linespoints lt palette frac 0.2, \
           "2e-4/dynap.out" using 1:2 title "{/Symbol D}b_2/b_2=2e-4" \
           with linespoints lt palette frac 0.4, \
           "5e-4/dynap.out" using 1:2 title "{/Symbol D}b_2/b_2=5e-4" \
           with linespoints lt palette frac 0.7, \
           "1e-3/dynap.out" using 1:2 title "{/Symbol D}b_2/b_2=1e-3" \
           with linespoints lt palette frac 0.8, \
           "2e-3/dynap.out" using 1:2 title "{/Symbol D}b_2/b_2=2e-3" \
           with linespoints lt palette frac 1.0;
    
    if (0) \
      set title "Dynamic Aperture vs. {/Symbol D}b_n/b_{2,3}"; \
      set xlabel "x [mm]"; set ylabel "y [mm]"; \
      plot "dynap_bare.out" using 1:2 title "Bare Lattice" with linespoints 3, \
           "dynap_mag.out" using 1:2 title "w. Multipole Errors" \
           with linespoints 1;
    
    
    if (!ps) pause -1;