Author |
Topic  |
|
AKazak
Russia
1228 Posts |
Posted - 08/21/2025 : 08:53:11 AM
|
OriginPro 2025b (64-bit) SR1 10.2.5.234 Windows 10 Pro for Workstations 10.0.19045.6216
Greetings!
I need to Combining Line and Floating Bar plots on the same Graph. I created two layers and want to link their X and Y axes as Straight (1 to 1). However it turns out that a Floating Bar plot is just a Floating Column plot with Exchange Axes applied. This means that the X-axis of my Line-plot layer matches with Y-axis of the Floating Bar plot, etc.
What is the proper way to create a plot similar to one shown below?
Thank you.

--- Andrey |
|
ChaoC
USA
208 Posts |
Posted - 08/21/2025 : 10:02:21 AM
|
Hello Andrey,
I think you can create your line plot with the X and Y designations swapped in the worksheet and then you can exchange the plot axes to bring it back to normal.
That way both the line and floating bar plots will have exchanged axes and match.
Best, Chao |
 |
|
AKazak
Russia
1228 Posts |
Posted - 08/21/2025 : 10:14:03 AM
|
quote: Originally posted by ChaoC
Hello Andrey,
I think you can create your line plot with the X and Y designations swapped in the worksheet and then you can exchange the plot axes to bring it back to normal.
That way both the line and floating bar plots will have exchanged axes and match.
Best, Chao
Not sure that I've got your point. Floating Bar plot has 1 X-axis column and 2 Y-axis columns... Can you share a sample OPJU, please?
--- Andrey |
 |
|
ChaoC
USA
208 Posts |
Posted - 08/21/2025 : 10:47:56 AM
|
Hello Andrey,
You flip the line plot which is XY. You don't do anything with the Floating column.
https://my.originlab.com/ftp/forum_and_kbase/Images/48717.opju
Note: You don't actually have to change your XY designations in the worksheet if you just use Plot Setup and choose the appropriate columns for the line plot.
Best, Chao |
 |
|
AKazak
Russia
1228 Posts |
Posted - 08/21/2025 : 11:09:44 AM
|
quote: Originally posted by ChaoC
Hello Andrey,
You flip the line plot which is XY. You don't do anything with the Floating column.
https://my.originlab.com/ftp/forum_and_kbase/Images/48717.opju
Best, Chao
OK, I see what you meant now. Nice trick!
Please discuss with the developers an idea of having real X and Y axes on Floating Bar plots, that is Xmin and Xmax, Y columns instead of X, Ymin and Ymax (currently).
--- Andrey |
 |
|
ChaoC
USA
208 Posts |
Posted - 08/21/2025 : 11:54:25 AM
|
Sure, I have forwarded your suggestions to the developers for their consideration.
Tracking reference: ORG-31959 |
 |
|
AKazak
Russia
1228 Posts |
Posted - 08/24/2025 : 11:51:01 AM
|
What is the proper procedure to add a floating bar plot to the same layer as line plot?
--- Andrey |
 |
|
ChaoC
USA
208 Posts |
Posted - 08/25/2025 : 10:51:13 AM
|
1. Create your Floating Bar plot. 2. Check the tick labels and make sure they are numeric and not text. 3. Go to Graph: Plot Setup and make sure you select the Layer. 4. Select the line plot, select your data, click the 'Add' button.

 |
 |
|
AKazak
Russia
1228 Posts |
Posted - 08/25/2025 : 11:09:47 AM
|
quote: Originally posted by ChaoC
1. Create your Floating Bar plot. 2. Check the tick labels and make sure they are numeric and not text. 3. Go to Graph: Plot Setup and make sure you select the Layer. 4. Select the line plot, select your data, click the 'Add' button.
Got it. Why the order is 1) Floating Bar plot and then 2) Line plot?
--- Andrey |
 |
|
ChaoC
USA
208 Posts |
Posted - 08/26/2025 : 1:18:16 PM
|
You could do it in the opposite order if you wanted to. But it requires more clicks. E.g. you'll have to select XYY instead of just XY and you will have to Exchange axes.
I invite you to try it to see what I mean. |
 |
|
|
Topic  |
|