Created
January 10, 2018 13:51
-
-
Save afonsoaugusto/c7bbfd96d0d88e3d965823e35ae027f1 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