DataGraph Community
  • Articles
  • Forums
  • News
  • Home

Community Forums

Forums/Technical Support/Support Desk/Join x-axes at will

Join x-axes at will

axis
  • 5 days, 16 hours ago petercreate
    Participant

    Hi,

    Just met a problem of joining two x-axes in my work. I want to put the axis labelled “c” or “d” to the upside of “a”. When I click join, it comes with a mess.

    Can I do it with DG?

    Best,

    Peter

    Screen Shot 2021-01-13 at 22.17.18

    4 days, 14 hours ago david
    Moderator

    If you want the c and d data to be above then you can split the y axis.

    Joining/overlapping the x axis will put the c and d axis above the graph.

    Not clear if you want the lines to overlap or be stacked differently.

     

    4 days, 2 hours ago petercreate
    Participant

    Hi David,

    Thanks for reaching out. I sketched what I want here. Please have a look and see if DG can make it.

    I want to move d axis on the top of a with its graph but keep c, d, e… as it is. Sometimes I need to combine some comparable parameters in the work. It’s more straightforward to combine two closely related parameters in the same graph.

    Cheers,

    Peter

    Screen Shot 2021-01-15 at 12.05.11

    3 days, 7 hours ago dgteam
    Moderator

    Try this …

    To have both a Split axis and a join or double axis for one of the graphs, you can scale the data using a variable for the double axis and show with an Extra axis command.

    Here the second x column is scaled to the same (or could be a similar range) as x1.

    axis1

    Then both ‘a’ and ‘d’ are plotted in the same panel where the axis for ‘d’ is displayed by scaling the Extra Axis.

    axis2

    Is this what you mean?

    3 days, 4 hours ago petercreate
    Participant

    Hi dgteam,

    Thanks.

    Close to but not exactly as I expected. I have two columns, x1 and x2, which are not dependent. Saying what if x1 = 1, 2, 3, …, while x2 = 10, 15, 20, …? What can I do in this situation?

    Regards,

    Peter

    2 days, 9 hours ago dgteam
    Moderator

    Please look at the latest Example File.  We improved the example above by scaling and shifting the second axis.

    The file shows how you to add a second axis on a Split axis.   The x1 and x2 axes are independent, but you scale and shift x2 to plot them together.

    Does this help?

    1 day, 4 hours ago petercreate
    Participant

    Hi dgteam,

    Thanks for the skilful instruction. Yes it helps but needs setups. Just wonder if the software allows a straightly added axis on the position of x2_scale instead of setting up these parameters? If so, that would be easier.

    Regards,

    Peter

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

Log In

Search Forums

Recent Topics

  • Multivariable Fit by donal botkin
    2 hours, 20 minutes ago
  • Axis Title by lucas erasmus
    4 hours, 41 minutes ago
  • Text Wrap x-axis labels by jjreiter13
    1 day, 7 hours ago
  • Change line width in legend by xinbo wang
    2 days, 8 hours ago
  • dtable file won’t update. by florian marx
    4 days, 14 hours ago
  • Like us on Facebook
  • Connect @datagraphapp
  • Subscribe to YouTube

Our Software

  • DataGraph
  • DataTank
  • ImageTank – New!
  • Create your account
Log In
© Visual Data Tools, Inc.  •  Privacy