#------------------------------------------------------------------------------ # This Programme is written for contouring the given data about the # SNT 250-600 pump blade from the pre-design model output. # Hamdi Nadir Tural # 702061013 # ITU Informatics Institute # Computational Science&Engineering # #------------------------------------------------------------------------------ # 1. Iso-Power Contour Plots with Default Color Map #------------------------------------------------------------------------------ reset set terminal png size 640,480 set output "1.png" set contour set cntrparam cubicspline set cntrparam levels discrete 8,15,30,55,80,110,150,203,257,321,390,470,550,630 unset surface set view 0,0,1 set xlabel 'Z' set ylabel 'R' set title 'Iso-Power Contours on Blade Meridional Section' set xrange [-10:140] set yrange [0:220] set key left splot 'gnugrid2.txt' with lines pause -1 #----------------------------------------------------------------------------- # 2. Iso-Power Filled Contour Plots with Default Color Map #----------------------------------------------------------------------------- reset set terminal png size 640,480 set output "2.png" unset hidden3d unset surf set size 1.0,1.0 set pm3d set xlabel 'Z' set ylabel 'R' set title 'Iso-Power Contours on Blade Meridional Section' set xrange [-10:140] set yrange [0:220] set view 0,0,1 set palette rgbformulae 33,13,10 set colorbox user origin 0.1,0.22 size .04,.55 set cntrparam levels incremental 15,1,27 set palette maxcolors 28 splot 'gnugrid2.txt' with pm3d pause -1 reset #---------------------------------------------------------------------------- # 3. Iso-Power Filled Contour Plots with Gray Color Map #---------------------------------------------------------------------------- reset set terminal png size 640,480 set output "3.png" unset hidden3d unset surf set size 1.0,1.0 set pm3d set xlabel 'Z' set ylabel 'R' set title 'Iso-Power Contours on Blade Meridional Section' set xrange [-10:140] set yrange [0:220] set view 0,0,1 set palette gray set colorbox user origin 0.1,0.22 size .04,.55 set cntrparam levels incremental 15,1,27 set palette maxcolors 28 splot 'gnugrid2.txt' with pm3d pause -1 reset #-------------------------------------------------------------------------- # 4. Iso-Velocity Filled Contour Plots with Default Color Map #-------------------------------------------------------------------------- reset set terminal png size 640,480 set output "4.png" unset hidden3d unset surf set pm3d set xlabel 'Z' set ylabel 'R' set title 'Iso-Velocity Contours on Blade Meridional Section' set xrange [-10:140] set yrange [0:220] set view 0,0,1 set palette rgbformulae 33,13,10 set colorbox user origin 0.1,0.22 size .04,.55 set palette maxcolors 28 splot 'gnugrid.txt' with pm3d #set palette gray gamma 0.5 #Gamma is ignored for color mappings pause -1 reset #------------------------------------------------------------------------ # 5. Iso-Velocity Filled Contour Plots with Gray Color Map #------------------------------------------------------------------------ reset set terminal png size 640,480 set output "5.png" unset hidden3d unset surf set pm3d set xlabel 'Z' set ylabel 'R' set title 'Iso-Velocity Contours on Blade Meridional Section' set xrange [-10:140] set yrange [0:220] set view 0,0,1 set palette rgbformulae 33,13,10 set palette maxcolors 28 set palette gray set colorbox user origin 0.1,0.22 size .04,.55 splot 'gnugrid.txt' with pm3d pause -1 reset #---------------------------------------------------------------------- # 6. Iso-Velocity Filled Contour Plots with Gray Map (Gamma Correction) #---------------------------------------------------------------------- reset set terminal png size 640,480 set output "6.png" unset hidden3d unset surf set pm3d set xlabel 'Z' set ylabel 'R' set title 'Iso-Velocity Contours on Blade Meridional Section with Gamma=0.7' set xrange [-10:140] set yrange [0:220] set view 0,0,1 set palette rgbformulae 33,13,10 set palette maxcolors 28 set palette gray set colorbox user origin 0.1,0.22 size .04,.55 set palette gray gamma 0.7 #Gamma is ignored for color mappings splot 'gnugrid.txt' with pm3d reset #---------------------------------------------------------------------------- # 7. Iso-Power Filled Contour Plots with Gray Color Map (Gamma Correction) #---------------------------------------------------------------------------- reset set terminal png size 640,480 set output "7.png" unset hidden3d unset surf set size 1.0,1.0 set pm3d set xlabel 'Z' set ylabel 'R' set title 'Iso-Power Contours on Blade Meridional Section with Gamma=0.7' set xrange [-10:140] set yrange [0:220] set view 0,0,1 set colorbox user origin 0.1,0.22 size .04,.55 set palette gray gamma 0.7 set palette maxcolors 28 splot 'gnugrid2.txt' with pm3d pause -1 reset #---------------------------------------------------------------------------- # 8. Iso-Power Filled Contour Plots with Gray Color Map #---------------------------------------------------------------------------- reset set terminal png size 640,480 set output "8.png" unset hidden3d unset surf set size 1.0,1.0 set pm3d set xlabel 'Z' set ylabel 'R' set title 'Iso-Power Contours on Blade Meridional Section' set xrange [-10:140] set yrange [0:220] set view 0,0,1 set palette rgbformulae 3,6,3 set colorbox user origin 0.1,0.22 size .04,.55 splot 'gnugrid.txt' with pm3d pause -1 reset #---------------------------------------------------------------------------- set terminal windows set output