Join x-axes at will

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

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5683
    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

      #5688
      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.

         

        #5692
        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

          #5698
          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?

            #5699
            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

              #5700
              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?

                #5747
                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.

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