@@ -234,6 +234,7 @@ def Interpolate_plot(df,data,color,xlim,ylmin,ylmax,etamin,etamax,elevation,azim
234234
235235 #Plot Settings============================
236236 plt .figure (0 )
237+ plt .grid (color = 'grey' )
237238 plt .title ("Compressor Map_" + cmapname + '_' + name [0 ])
238239 plt .xlabel ('Air Flow [kg/s]' )
239240 plt .ylabel ('PRC [-]' )
@@ -242,6 +243,7 @@ def Interpolate_plot(df,data,color,xlim,ylmin,ylmax,etamin,etamax,elevation,azim
242243 plt .yticks (np .arange (ylmin , ylmax , (ylmax - ylmin )/ 20 ))
243244
244245 plt .figure (1 )
246+ plt .grid (color = 'grey' )
245247 plt .title ("Flow-EtaC_" + cmapname + '_' + name [0 ])
246248 plt .xlabel ('Air Flow [kg/s]' )
247249 plt .ylabel ('EtaC [-]' )
@@ -351,6 +353,7 @@ def all_datas_plot(cmap,data,color,xlim,ylmin,ylmax,etamin,etamax,elevation,azim
351353
352354 #plot setting
353355 plt .figure (0 )
356+ plt .grid (color = 'grey' )
354357 plt .title ("Compressor Map_" + cmapname + '_' + name [0 ])
355358 plt .xlabel ('Air Flow [kg/s]' )
356359 plt .ylabel ('PRC [-]' )
@@ -359,6 +362,7 @@ def all_datas_plot(cmap,data,color,xlim,ylmin,ylmax,etamin,etamax,elevation,azim
359362 plt .yticks (np .arange (ylmin , ylmax , (ylmax - ylmin )/ 20 ))
360363
361364 plt .figure (1 )
365+ plt .grid (color = 'grey' )
362366 plt .title ("Flow-EtaC_" + cmapname + '_' + name [0 ])
363367 plt .xlabel ('Air Flow [kg/s]' )
364368 plt .ylabel ('EtaC [-]' )
@@ -367,6 +371,7 @@ def all_datas_plot(cmap,data,color,xlim,ylmin,ylmax,etamin,etamax,elevation,azim
367371 plt .yticks (np .arange (etamin ,etamax , (etamax - etamin )/ 20 ))
368372
369373 plt .figure (2 )
374+ plt .grid (color = 'grey' )
370375 plt .title ("Flow-PRC_" + cmapname + '_' + name [0 ])
371376 plt .xlabel ('Air Flow [kg/s]' )
372377 plt .ylabel ('PRC [-]' )
@@ -484,7 +489,7 @@ def all_datas_plot(cmap,data,color,xlim,ylmin,ylmax,etamin,etamax,elevation,azim
484489cmapname = "SampleCMAP" #map name
485490#cmapname = "cmap_2" #.txt map name
486491#cmap_n = "cmap_2" #.csv file for compressor map
487- name = ['LugLine1 ' ,'LugLine2 ' ] #.csv file for data sets (list)
492+ name = ['null ' ,'null ' ] #.csv file for data sets (list)
488493color = ['red' ,'blue' ] #plotting color for data sets (list)
489494
490495#===============Option 1 (Curve fit Plotting)====================
0 commit comments