Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved I have a question about 3d graph.

    General and Desktop
    1
    1
    25
    Loading More Posts
    • 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.
    • N
      nyamnyam last edited by

      I used Q3dSurface... I wonder that

      Problem 1.

      The value of the y-axis set from 0 to 255, but the value shown wants to be seen as a value of 0 to 360.

      111512b9-fdcc-4684-96c4-00b0f1925998.png

      I think the following code would do, but the value shown is marked "255 * 1.40625".

      Q3DSurface *graph = new Q3DSurface();
      graph ->axisY()->setLabelFormat ("%d * 1.40625")

      The result I want is to make the value of the Y-axis appear 0 to 360, not 0 to 256.

      I would appreciate it if you could tell me which function to use to shown on the Y axis.

      Problem 2.

      I would like to create a 3d graph with a range of X values from 0 to 60, a range of Y values from 0 to 360, and a range of Z values from 0 to 1000.

      As shown in the image above, the width of the y-axis is shown to be quite small.

      Please let me know how to make a 3d graph of the same length on the X, y, and Z axes.

      Thank you for your help.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post