Skip to content

Bug 8934 - Irregularity in stem() display  #12

@hturner

Description

@hturner

Bug 8934 describes some long-standing issues with the stem() function for creating stem-and-leaf plots, the main one being that the divider between the stem and the leaf is not always aligned across rows.

The bulk of the code is in the underlying stem_leaf C function: https://github.com/r-devel/r-svn/blob/cd94cda92d838a2938cdb90b51ca1d0cc3eeb7af/src/library/graphics/src/stem.c#L51.

So fixing the alignment bug would require working through this code to understand how the alignment is determined and whether it can changed to make the dividers always line up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIssues requiring knowledge of CGraphicsIssues related to graphicsPLUS 2024Issues reserved for R Dev Day @ PLUS 2024needs analysisTrack down the cause of the bug, or identify as not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions