GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — arrow command broken · Issue #141 · matplotlib/matplotlib

arrow command broken #141

New issue
Copy link
New issue
Copy link
Closed
Closed
arrow command broken#141
Copy link
Assignees
leejjoon
Milestone
v1.1.0

Description

@wkerzendorf
wkerzendorf
opened on Jun 12, 2011
Issue body actions

arrow(3000, 5e-15, 0, .5e-15)
ylim(0,1e-14)
xlim(2000, 4000)

should print a line from 3000, 5e-15 to 3000 5.5e-15, but it plots a line that goes much higher that 1e-14.

Cheers
Wolfgang

Activity

  1. ghost assigned
    leejjoon
    on Jun 15, 2011
  2. leejjoon commented on Jul 10, 2011

    @leejjoon
    leejjoon
    on Jul 10, 2011
    Contributor
    More actions

    While this is not apparent in the documentation of the "arrow" command, it is implicitly assumed that dx, dy is the length of the arrow "without the head", and the length of the head is 0.0015 by default. This is why your result seems wrong.

    You may try to fix this with by setting the head_length explicitly.

    arrow(3000, 5e-15, 0, 1e-15, head_length=5.e-16, width=100)

    However, remember that "arrow" command draws the arrow in the data coordinate, and I recommend you to use command like "annotate" instead.

    I consider this is a bug in the documentation and will commit fix soon.

  3. leejjoon
    closed this as completedin fc52ce5on Jul 28, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @leejjoon
    leejjoon

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    • v1.1.0

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.