Skip to main content

plotvet

plotvet é um pacote simples e fácil para plotar vetores no espaço bidimensional e tridimensional.

Dependências

Python 3.6 ou posterior

Pacote numpy Pacote matplotlib.pyplot

Começando o uso

Você vai precisar instalar o pacote plotvet, para isso basta executar:

pip install plotvet

Funções

  • plota2D([<lista de vetores>],[<lista de cores para cada vetor],[<limites da plotage 2D>]) - Plota vetores no espaço bidimensional
Ex: 
u_laranja='#FF9A13'
v_azul='#1190FF'
r_vermelho='#FF0000'

u=[1,2]
v=[2,1]
u=np.array(u)
v=np.array(v)
r=u+v

plota2D([u,v,r],[u_laranja,v_azul,r_vermelho],[-3,3,-3,3])
  • plota3D([<lista de vetores>],[<lista de cores para cada vetor],[<limites da plotage 3D>]) - Plota vetores no espaço tridimensional
Ex: 
u_laranja='#FF9A13'
v_azul='#1190FF'
r_vermelho='#FF0000'

u=[-1,1,2]
v=[2,3,2]
u=np.array(u)
v=np.array(v)
r=u+v

plota3D([u,v,r],[u_laranja,v_azul,r_vermelho],[-4,4,-4,4,-4,4])

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plotvet-0.0.11.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plotvet-0.0.11-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file plotvet-0.0.11.tar.gz.

File metadata

  • Download URL: plotvet-0.0.11.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.5

File hashes

Hashes for plotvet-0.0.11.tar.gz
Algorithm Hash digest
SHA256 a6274e389862e681d90dd3b4a28fef70f45f7d55d4eed97dd171911071eebf27
MD5 faaef000c5f22bea5b2ece601cd890c3
BLAKE2b-256 ba42b838fd0f0079ac6cf79d1a48027556d5b29e233a63913c292aef9082b0d8

See more details on using hashes here.

File details

Details for the file plotvet-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: plotvet-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.5

File hashes

Hashes for plotvet-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 89850923a2424634001f3e5c199f49c67bc813b4b72465ed1b44219b70d80553
MD5 470c723f7e966124540841e1b0bcf849
BLAKE2b-256 874e25ef7047c144932d6054e6f8631cc97097ba92a3293c661d719ca291315d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.11 This release

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

1 file

0.0.6

2 files

0.0.5

1 file

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page