-
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
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.
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
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.
Then both ‘a’ and ‘d’ are plotted in the same panel where the axis for ‘d’ is displayed by scaling the Extra Axis.
Is this what you mean?
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
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?
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
You must be logged in to reply to this topic.