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 numpy as np | |
| import matplotlib.pyplot as plt | |
| """ | |
| Inserindo titulo e legendas | |
| """ | |
| x = np.arange(1, 11) | |
| print(x) | |
| plt.figure(figsize=(6, 4)) |
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 numpy as np | |
| import matplotlib.pyplot as plt | |
| """ | |
| Escolhendo cores para as retas | |
| """ | |
| x = np.arange(1, 11) | |
| print(x) | |
| plt.figure(figsize=(6, 4)) |
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 numpy as np | |
| import matplotlib.pyplot as plt | |
| """ | |
| Mais de uma linha no gráfico | |
| """ | |
| x = np.arange(1, 11) | |
| print(x) | |
| plt.figure(figsize=(6, 4)) |
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 numpy as np | |
| import matplotlib.pyplot as plt | |
| """ | |
| Acrescentando Grid | |
| """ | |
| arr1 = np.array([1, 2, 3, 4, 5, 6, 7 ,8, 9, 10]) | |
| arr2 = np.array([2, 4, 6, 8, 10, 12, 14 ,16, 18, 20]) | |
| plt.figure(figsize=(6, 4)) |
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 numpy as np | |
| import matplotlib.pyplot as plt | |
| """ | |
| Acrescentando Grid | |
| """ | |
| arr1 = np.array([1, 2, 3, 4, 5, 6, 7 ,8, 9, 10]) | |
| arr2 = np.array([2, 4, 6, 8, 10, 12, 14 ,16, 18, 20]) | |
| plt.figure(figsize=(6, 4)) |
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 numpy as np | |
| import matplotlib.pyplot as plt | |
| """ | |
| Plotagem de uma reta simples f(x) = 2x | |
| """ | |
| arr1 = np.array([1, 2, 3, 4, 5, 6, 7 ,8, 9, 10]) | |
| arr2 = np.array([2, 4, 6, 8, 10, 12, 14 ,16, 18, 20]) | |
| plt.figure(figsize=(6, 4)) |
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
| package main | |
| import "fmt" | |
| type Node struct { | |
| prev *Node | |
| next *Node | |
| key interface{} | |
| } |
NewerOlder