Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions naca.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
from math import pow
from math import sqrt


def linspace(start,stop,np):
"""
Emulate Matlab linspace
Expand Down Expand Up @@ -262,7 +263,11 @@ def naca(number, n, finite_TE = False, half_cosine_spacing = False):

class Display(object):
def __init__(self):
import numpy as np
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt

self.plt = plt
self.h = []
self.label = []
Expand Down