This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Exemplo de utilização do método fill da biblioteca do Matplotlib | |
| para a plotagem de um gráfico com o preenchimento da área abaixo | |
| da curva (entre a curva e o eixo horizontal). | |
| """ | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| x = np.linspace(0, 1, 500) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cv2 | |
| img = cv2.imread('OpenCV_Logo.png', cv2.IMREAD_COLOR) | |
| cv2.namedWindow('Hello World') | |
| cv2.imshow('Hello World', img) | |
| cv2.waitKey() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| from math import pi | |
| t = np.arange(-4, 4, 0.001) | |
| def square_serie(Nh): | |
| x = np.zeros(t.shape).astype('complex128') | |
| for k in range(1, (2 * Nh) + 1, 2): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cv2 | |
| img = cv2.imread('opencv_logo.png') | |
| cv2.namedWindow('Janela') | |
| cv2.imshow('Janela', img) | |
| cv2.waitKey() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| from math import pi | |
| import math | |
| t = np.arange(-4, 4, 0.001) | |
| def square_serie(Nh): | |
| x = np.zeros(t.shape).astype('complex128') |