Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Polar plot error bars don't rotate with angle #441

Closed
@drwebb

Description

@drwebb

In this example the errorbars do not align with the theta of bar. I posted this as a question atstackoverflow, and maybe the answer could be useful. Surely, this should not be default behavior though.

Example non-working code:

from numpy import *from matplotlib import pyplot as pyr=zeros([16])err=zeros([16]) for i in range(16):    r[i]=random.randint(400,600)    err[i]=random.randint(20,50)theta=arange(0,2*pi,2*pi/16)width = pi*2/16fig = py.figure(figsize=(8,8))ax = fig.add_axes([0.1, 0.1, 0.75, 0.79], polar=True)bars = ax.bar(theta+pi/16, r, width=width, bottom=0.0,yerr=err)ax.set_ylim(0,700)py.show()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp