Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
purr-data
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 268
    • Issues 268
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 16
    • Merge Requests 16
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Jonathan Wilkes
  • purr-data
  • Issues
  • #384

Closed
Open
Opened Oct 31, 2017 by Albert Gräf@aggraefDeveloper

Graph labels are off a bit, should be centered on the spot where they are displayed

Sample patch attached: graph-labels.pd

Here's how the patch looks like in vanilla:

labels-vanilla

Note how the labels are centered relative to the ticks.

In Purr Data they are offset upwards and to the right:

labels-purr

Looks like they are aligned with the reference point below and left of the label, so that they look misaligned. Of course, it's possible to fix the y alignment of the x labels and the x alignment of the y labels by adjusting the coordinate values in the first argument of the corresponding xlabel/ylabel message, but that's awkward, introduces an incompatibility with vanilla for no good reason, and in any case doesn't help with the horizontal placement of x and the vertical placement of y labels for which there is no such work-around.

It's a minor issue, but to a mathematician's eye this just looks wrong. ;-) Is there a way to fix that?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: jwilkes/purr-data#384