<commit_before>#!/bin/py
#
# interpolate over data field for bottom vanes
#
#
#
import numpy as np
import matplotlib
matplotlib.use('Agg')
import itertools
import matplotlib.pyplot as plt

from scipy import integrate
from scipy.integrate import ode

radprime=6.0
radmin=0.6


#
# main function: execute
#
def main():

    fig = plt.figure()
    ax = fig.add_subplot(1,1,1)

    dom=20

    xmin = -dom
    xmax = dom

    zmin = 0
    zmax = dom
    
    plt.suptitle("SoV Configuration: Side View")
    plt.title("12 Vane")

    major_ticksx = np.arange(xmin, xmax, 5)
    minor_ticksx = np.arange(xmin, xmax, 1)                                         
    major_ticksz = np.arange(zmin, zmax, 5)
    minor_ticksz = np.arange(zmin, zmax, 1)                                         
    ax.set_xticks(major_ticksx)
    ax.set_xticks(minor_ticksx, minor=True) 
    ax.set_yticks(major_ticksz)
    ax.set_yticks(minor_ticksz, minor=True)

    plt.xlim([xmin,xmax])
    plt.ylim([zmin,zmax])
    plt.xlabel('Streamwise (X) [Meters]')
    plt.ylabel('Height (Z) [Meters]')
    plt.grid()

    # adding lines
    #plt.axhline(y=3.0, xmin=-12.0, xmax=0, linewidth=4, color = 'red')

    # front vane
    plt.plot((-12,-3),(3,3),linewidth=4,color = 'red')

    # back vane
    plt.plot((-12,-3),(3,3),linewidth=4,color = 'red')
    plt.plot((3,3),(,3),linewidth=4,color = 'red')

    #plt.axvline(x=0.402, ymin=0.4, ymax = 0.615, linewidth=2, color='k')

    # adding text
    ax.text(-8.4, 15, r'Upstream Side', fontsize=15)
    ax.text(5.6, 15, r'Downstream Side', fontsize=15)

    # angles
    #ax.text(-8, -1, r'$\theta^{b,u}_{min}$', fontsize=20,color='blue')
    #ax.text(6, -1, r'$\theta^{b,d}_{min}$', fontsize=20,color='blue')

    # annotate
    #ax.annotate(r'$\theta^{b,u}_{max}$', xy=(-0.5, 0), xytext=(-6, -6),
    #            arrowprops=dict(facecolor='black', shrink=0.05),color='blue',fontsize=20)
    

    fig = plt.gcf()<commit_msg>udpating vertica, need to actually finish this<commit_after>#!/bin/py
#
# interpolate over data field for bottom vanes
#
#
#
import numpy as np
import matplotlib
matplotlib.use('Agg')
import itertools
import matplotlib.pyplot as plt

from scipy import integrate
from scipy.integrate import ode

radprime=6.0
radmin=0.6


#
# main function: execute
#
def main():

    fig = plt.figure()
    ax = fig.add_subplot(1,1,1)

    dom=20

    xmin = -dom
    xmax = dom

    zmin = 0
    zmax = dom
    
    plt.title("SoV Configuration: Vertical View")
    #plt.title("12 Vane")

    major_ticksx = np.arange(xmin, xmax, 5)
    minor_ticksx = np.arange(xmin, xmax, 1)                                         
    major_ticksz = np.arange(zmin, zmax, 5)
    minor_ticksz = np.arange(zmin, zmax, 1)                                         
    ax.set_xticks(major_ticksx)
    ax.set_xticks(minor_ticksx, minor=True) 
    ax.set_yticks(major_ticksz)
    ax.set_yticks(minor_ticksz, minor=True)

    plt.xlim([xmin,xmax])
    plt.ylim([zmin,zmax])
    plt.xlabel('Streamwise (X) [Meters]')
    plt.ylabel('Height (Z) [Meters]')
    plt.grid()

    # adding lines
    #plt.axhline(y=3.0, xmin=-12.0, xmax=0, linewidth=4, color = 'red')

    # front vane
    plt.plot((-12,-3),(3,3),linewidth=4,color = 'red')

    # back vane (x1,x2),(y1,y2)
    plt.plot((-12,-3),(3,3),linewidth=4,color = 'red')
    plt.plot((3,3),(1,3),linewidth=4,color = 'red')

    #plt.axvline(x=0.402, ymin=0.4, ymax = 0.615, linewidth=2, color='k')

    # adding text
    ax.text(-8.4, 15, r'Upstream Side', fontsize=15)
    ax.text(5.6, 15, r'Downstream Side', fontsize=15)

    # angles
    #ax.text(-8, -1, r'$\theta^{b,u}_{min}$', fontsize=20,color='blue')
    #ax.text(6, -1, r'$\theta^{b,d}_{min}$', fontsize=20,color='blue')

    # annotate
    #ax.annotate(r'$\theta^{b,u}_{max}$', xy=(-0.5, 0), xytext=(-6, -6),
    #            arrowprops=dict(facecolor='black', shrink=0.05),color='blue',fontsize=20)
    

    fig = plt.gcf()
{'fraction_non_alphanumeric': 0.17654508611955422, 'fraction_numerical': 0.04179331306990881, 'mean_word_length': 2.8191489361702127, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6799098', 'n_tokens_mistral': 1691, 'n_tokens_neox': 1591, 'n_words': 288}