Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. change tick labels
Forum Updated to NodeBB v4.3 + New Features

change tick labels

Scheduled Pinned Locked Moved Unsolved Qt for Python
qt for pythonpyside2pysidepython
3 Posts 2 Posters 484 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.
  • A Offline
    A Offline
    aayushlakkad
    wrote on last edited by aayushlakkad
    #1

    Hello all,
    I am trying to plot a dataset (in CSV format) using Qt chartview. The dataset has a sampling frequency of 10hz which means I am getting 10 data points every second. When I plot with X-axis as index and Y-axis as corresponding values, I get following chart
    ad7733c2-f855-42e8-ab85-c792064cb319-image.png
    As you can see in the image, the X-ticks are from 0-300, but I want to convert these to 0-30. or any other range. How should I do this?
    Thank you

    1 Reply Last reply
    0
    • CristianMaureiraC Offline
      CristianMaureiraC Offline
      CristianMaureira
      wrote on last edited by
      #2

      Maybe you can share the code you are using for the plot, so we can see if something looks strange ;)

      A 1 Reply Last reply
      0
      • CristianMaureiraC CristianMaureira

        Maybe you can share the code you are using for the plot, so we can see if something looks strange ;)

        A Offline
        A Offline
        aayushlakkad
        wrote on last edited by
        #3

        @CristianMaureira please find link to my plotting code link .

        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