#40 histograms for negative y-coordinates

closed
nobody
None
5
2012-10-16
2006-05-21
No

The attached code snippet attempts to plot a histogram
of sin(x). Something seems to go badly wrong when the
function goes negative -- either the left or right
sides of the bars cease to appear.

Discussion

  • Dominic Ford

    Dominic Ford - 2006-05-21

    Demonstration code snippet

     
    Attachments
  • Dominic Ford

    Dominic Ford - 2006-05-21

    Logged In: YES
    user_id=1490334

    I should add... I'm aware that setting fillable=1 in the
    style options fixes this, but as default behaviour, it
    doesn't seem so sensible.

     
  • Andre Wobst

    Andre Wobst - 2006-05-22

    Logged In: YES
    user_id=405853

    Thanks for the report. (The vvalue and vfromvalue comparison missed to take
    into account the vfromvalue.) Fixed in changeset:2768.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks