Created
January 10, 2018 13:50
-
-
Save afonsoaugusto/fce3e7ee9f48246bf46f229a3b45ad9c to your computer and use it in GitHub Desktop.
plano cartesiano em python com as opções de marcação do matplot lib
This file contains 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
a = ['-','--','-.',':','.',',','o','v' | |
,'^','<','>','1','2','3','4','s','p' | |
,'*','h','H','+','x','D','d','|','_'] | |
b = ['b' ,'g' ,'r' ,'c' ,'m' ,'y' ,'k' ,'w'] | |
pp = [] | |
for i in a: | |
for j in b: | |
pp.append(j+i) | |
for i in pp: | |
print(i) | |
dd = [j+i for i in a for j in b] | |
for i in dd: | |
print(i) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment