Thanks to visit codestin.com
Credit goes to github.com

Skip to content

quiver is not plotting only 1 vector #3817

Closed
@moghimis

Description

@moghimis

For some reason my old script which was plotting correctly is not reproducing the same figure.
Here is the line of the code:

axq.quiver([xtexth],[ytexth],[uwnd,],[vwnd,],units=units,scale=scalew,width=0.03,color='b')

However if I add 1 element to vector it will plot as before:

axq.quiver([0,xtexth],[0,ytexth],[0,uwnd,],[0,vwnd,],units=units,scale=scalew,width=0.03,color='b')

It seems the first element is ommited.

Saeed.

In [178]: import matplotlib as mpl
In [179]: print mpl.__version__
1.4.2

[TAC edited to add formatting markup]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions