The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 How to remove duplicate y-values in Column graphs
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

juniorceser

Australia
3 Posts

Posted - 12/02/2023 :  09:26:35 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Dear Origin community.

I come across the problem with the plotting of bar chart.

As attached in the image in this forum.

The first column ("Baseline") have the same y-value and I want them to be only one and stay in the middle of the major tick.

Are there any solutions to this problem?

Best regards,
Nathaphon


Origin Ver. and Service Release (Select Help-->About Origin):
Operating System: OriginPro 2021b

ณฐพล พุทธโกษา

snowli

USA
1417 Posts

Posted - 12/02/2023 :  4:43:55 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Maybe the easiest way is
1. press Ctrl+double click each bar at Baseline position and in Plot Details dialog that opens, go to left panel and uncheck the checkbox before the point.
2. Then add a rectangle object at the baseline position.

Or u can highlight only rows from 2 on to plot the graph first.
Then double click the 1 layer icon on upper left corner.
Pick any Y column on left and move to right side.
Set the Range to 1:1 so only the 1st point is plotted.

Then u can click the the fat bar and use mini toolbar to adjust the width of the bar. Or double click the plot to open Plot Details dialog. Go to Spacing tab to adjust the gap so it's not very fat, ....



https://my.originlab.com/ftp/forum_and_kbase/Images/Bar_with_same_baseline.opju

Thanks, Snow
Go to Top of Page

juniorceser

Australia
3 Posts

Posted - 12/02/2023 :  11:47:11 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by snowli

Maybe the easiest way is
1. press Ctrl+double click each bar at Baseline position and in Plot Details dialog that opens, go to left panel and uncheck the checkbox before the point.
2. Then add a rectangle object at the baseline position.

Or u can highlight only rows from 2 on to plot the graph first.
Then double click the 1 layer icon on upper left corner.
Pick any Y column on left and move to right side.
Set the Range to 1:1 so only the 1st point is plotted.

Then u can click the the fat bar and use mini toolbar to adjust the width of the bar. Or double click the plot to open Plot Details dialog. Go to Spacing tab to adjust the gap so it's not very fat, ....



https://my.originlab.com/ftp/forum_and_kbase/Images/Bar_with_same_baseline.opju

Thanks, Snow



Hi Snow,

Much appreciated for your guidance. Here is my final product with your help.

Cheers,
Nathaphon

ณฐพล พุทธโกษา
Go to Top of Page

snowli

USA
1417 Posts

Posted - 12/03/2023 :  6:41:41 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Nice.

Which method did u use?


Thanks, Snow
Go to Top of Page

juniorceser

Australia
3 Posts

Posted - 12/18/2023 :  06:23:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by snowli

Nice.

Which method did u use?


Thanks, Snow



Hi Snow,

I used the second method as it is the best for creating the template for my future plots.

Cheers
Nathaphon

ณฐพล พุทธโกษา
Go to Top of Page

snowli

USA
1417 Posts

Posted - 12/18/2023 :  08:52:14 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I see. Thank you for letting me know.

Thanks, Snow
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000