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. qwt log scale Limits

qwt log scale Limits

Scheduled Pinned Locked Moved 3rd Party Software
2 Posts 2 Posters 1.4k Views
  • 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
    jav321
    wrote on 29 Jun 2015, 07:22 last edited by
    #1

    Hi,

    I am plotting a curve with magnitude in dBs and frequency from 0Hz to 20Khz on linear scale. I generate a simple linear frequency array. Now I want to view my Curve on a typical log scale that is used in audio players. But I don't know how ?

    I tried adding this to my code.

    QwtLog10ScaleEngine *qwtlog = new QwtLog10ScaleEngine();
     
     
         plot->setAxisScaleEngine(QwtPlot::xBottom, qwtlog);
    

    This does work but my x axis scale starts at 1E-100 and ends at 1. I want to change its limits so that it goes from 0 to 20KHz like this

    http://machrone.home.comcast.net/~machrone/playertest/h10_octave_sweep.gif

    Thank you.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on 29 Jun 2015, 08:23 last edited by
      #2

      Hi and welcome to devnet

      Did you try already autoScale()?

      PS: I will move your thread to "3rd Party Software", where threads concerning QWT can be found.
      Furthermore, it is also a good idea to post in QWT mailing list. There you might a better response than here in this forum.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0

      1/2

      29 Jun 2015, 07:22

      • Login

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