Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Changing the separation distance of y-axis labels on a QwtPlot

Changing the separation distance of y-axis labels on a QwtPlot

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
2 Posts 1 Posters 592 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    james b-s
    wrote on last edited by
    #1

    How does one change the separation distance of y-axis labels on a QwtPlot? I've mucked up the barchart.cpp example. I created a simple TextScaleDraw : public QwtScaleDraw that I pass to the QwtPlot with setAxisScaleDraw. I see my labels fine, but there is a lot of wasted vertical space between the labels (about 4 times the height of the labels).

    Thanks in advance

    1 Reply Last reply
    0
    • J Offline
      J Offline
      james b-s
      wrote on last edited by
      #2

      Upon further evaluation, the labels are put at the major tick marks, so the real question is how to change the physical spacing of the major tick marks. I'm not displaying the minor tick marks, but it appears that physical space is being allocated for them. I need to eliminate this physical spacing.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved