@@ -220,7 +220,7 @@ def plotLogFormat(log, dpth, xlim, col="blue"):
220220 plt .ylim ((dpth .min (), dpth .max ()))
221221 plt .grid ()
222222 plt .gca ().invert_yaxis ()
223- plt .setp (plt .xticks ()[1 ], rotation = "90 " , fontsize = 9 )
223+ plt .setp (plt .xticks ()[1 ], rotation = "vertical " , fontsize = 9 )
224224 plt .setp (plt .yticks ()[1 ], fontsize = 9 )
225225
226226 return ax
@@ -273,7 +273,7 @@ def plotLogs(d, rho, v, usingT=True):
273273 plt .gca ().set_xlabel ("Reflection Coeff." , fontsize = 8.0 )
274274 plt .grid ()
275275 plt .gca ().invert_yaxis ()
276- plt .setp (plt .xticks ()[1 ], rotation = "90 " , fontsize = 9 )
276+ plt .setp (plt .xticks ()[1 ], rotation = "vertical " , fontsize = 9 )
277277 plt .setp (plt .yticks ()[1 ], visible = False )
278278
279279 plt .tight_layout ()
@@ -361,7 +361,7 @@ def plotSeismogram(d, rho, v, wavf, wavA=1.0, noise=0.0, usingT=True, wavtyp="RI
361361 plt .gca ().grid (True , which = "minor" , axis = "y" )
362362 plt .ylim ((tseis .min () - tseis .mean (), tseis .max () - tseis .mean ()))
363363 plt .gca ().invert_yaxis ()
364- plt .setp (plt .xticks ()[1 ], rotation = "90 " , fontsize = 9 )
364+ plt .setp (plt .xticks ()[1 ], rotation = "vertical " , fontsize = 9 )
365365 plt .setp (plt .yticks ()[1 ], fontsize = 9 )
366366 plt .gca ().set_xlabel ("Amplitude" , fontsize = 9 )
367367 plt .gca ().set_ylabel ("Time (s)" , fontsize = 9 )
@@ -381,7 +381,7 @@ def plotSeismogram(d, rho, v, wavf, wavA=1.0, noise=0.0, usingT=True, wavtyp="RI
381381 plt .ylim ((0 , tseis .max ()))
382382 plt .gca ().invert_yaxis ()
383383 plt .xlim ((- 2.0 , 2.0 ))
384- plt .setp (plt .xticks ()[1 ], rotation = "90 " , fontsize = 9 )
384+ plt .setp (plt .xticks ()[1 ], rotation = "vertical " , fontsize = 9 )
385385 plt .setp (plt .yticks ()[1 ], fontsize = 9 )
386386 plt .gca ().set_xlabel ("Amplitude" , fontsize = 9 )
387387 plt .gca ().set_ylabel ("Time (s)" , fontsize = 9 )
@@ -401,7 +401,7 @@ def plotSeismogram(d, rho, v, wavf, wavA=1.0, noise=0.0, usingT=True, wavtyp="RI
401401 plt .ylim ((tseis .min (), tseis .max ()))
402402 plt .gca ().invert_yaxis ()
403403 plt .xlim ((- 0.95 , 0.95 ))
404- plt .setp (plt .xticks ()[1 ], rotation = "90 " , fontsize = 9 )
404+ plt .setp (plt .xticks ()[1 ], rotation = "vertical " , fontsize = 9 )
405405 plt .setp (plt .yticks ()[1 ], fontsize = 9 )
406406 plt .gca ().set_xlabel ("Amplitude" , fontsize = 9 )
407407 plt .gca ().set_ylabel ("Time (s)" , fontsize = 9 )
@@ -451,7 +451,7 @@ def plotSeismogramV2(
451451 plt .gca ().grid (True , which = "major" , axis = "both" , linewidth = 1.5 )
452452 plt .gca ().grid (True , which = "minor" , axis = "y" )
453453 plt .gca ().invert_yaxis ()
454- plt .setp (plt .xticks ()[1 ], rotation = "90 " , fontsize = 9 )
454+ plt .setp (plt .xticks ()[1 ], rotation = "vertical " , fontsize = 9 )
455455 plt .setp (plt .yticks ()[1 ], fontsize = 9 )
456456 plt .gca ().set_xlabel ("Amplitude" , fontsize = 9 )
457457 plt .gca ().set_ylabel ("Time (s)" , fontsize = 9 )
@@ -483,7 +483,7 @@ def plotSeismogramV2(
483483 plt .ylim ((tseis .min (), tseis .max ()))
484484 plt .gca ().invert_yaxis ()
485485 plt .xlim ((- 1.0 , 1.0 ))
486- plt .setp (plt .xticks ()[1 ], rotation = "90 " , fontsize = 9 )
486+ plt .setp (plt .xticks ()[1 ], rotation = "vertical " , fontsize = 9 )
487487 plt .setp (plt .yticks ()[1 ], fontsize = 9 )
488488 plt .gca ().set_xlabel ("Amplitude" , fontsize = 9 )
489489 plt .gca ().set_ylabel ("Time (s)" , fontsize = 9 )
@@ -533,7 +533,7 @@ def plotSeismogramV3(
533533 plt .gca ().grid (True , which = "major" , axis = "both" , linewidth = 1.5 )
534534 plt .gca ().grid (True , which = "minor" , axis = "y" )
535535 plt .gca ().invert_yaxis ()
536- plt .setp (plt .xticks ()[1 ], rotation = "90 " , fontsize = 9 )
536+ plt .setp (plt .xticks ()[1 ], rotation = "vertical " , fontsize = 9 )
537537 plt .setp (plt .yticks ()[1 ], fontsize = 9 )
538538 plt .gca ().set_xlabel ("Amplitude" , fontsize = 9 )
539539 plt .gca ().set_ylabel ("Time (s)" , fontsize = 9 )
@@ -570,7 +570,7 @@ def plotSeismogramV3(
570570 plt .gca ().invert_yaxis ()
571571 plt .xlim ((- 1.0 , 1.0 ))
572572
573- plt .setp (plt .xticks ()[1 ], rotation = "90 " , fontsize = 9 )
573+ plt .setp (plt .xticks ()[1 ], rotation = "vertical " , fontsize = 9 )
574574 plt .setp (plt .yticks ()[1 ], fontsize = 9 )
575575 plt .gca ().set_xlabel ("Amplitude" , fontsize = 9 )
576576 plt .gca ().set_ylabel ("Time (s)" , fontsize = 9 )
0 commit comments