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
 problems with new layers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

feger

China
3 Posts

Posted - 12/27/2024 :  1:22:39 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2025 (64-bit) 10.2.0.188
Operating System:Windows 11
I created a new layer (right axis,same x-axis), but after plotting a new plot, the original layer's plot can no longer be seen. The layer order and background color are fine and trying to create other types of new layers does not solve the problem.

WillMunson

USA
2 Posts

Posted - 12/27/2024 :  1:49:54 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi feger,

Could you share your project with me on here? Let me take a look at what's going on.

Thanks,
Will Munson.

Edited by - WillMunson on 12/27/2024 2:26:57 PM
Go to Top of Page

feger

China
3 Posts

Posted - 12/28/2024 :  06:23:54 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
https://my.originlab.com/ftp/forum_and_kbase/Images/test1228.opju
Go to Top of Page

WillMunson

USA
2 Posts

Posted - 12/30/2024 :  4:21:41 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi feger,

Thanks for sharing your project with me.

When plotting multiple Y columns with numeric X data, by default Origin treats the X data as text so columns can be evenly spaced. see https://www.originlab.com/doc/Quick-Help/Evenly-Space-ColBar.

E.g. if you look at your Graph2, the x axis is from 0.5 to 11.5 actually and tick label is Text from column A. Which means 2013 is treated as 1, 2013 is treated as 2, ...

While if you just plot line+symbol, the x axis will really be numeric from 2013 to 2023.
That's why when you try to add layer and link them, the confusion starts.

For your case, it's better both layer1 and layer2's x is set to numeric. and straight 1:1.
1. in Graph3, open Axis dialog. Set Layer no. to 1 at bottom of the dialog.
2. Go to Tick Labels, check Show checkbox and Set type to Numeric.
3. Select Layer2 at the bottom of the dialog. Go to Tick Labels and set Type to Numeric as well.
4. Go to Object Manager on right side of workspace. Right click RightY and choose Bring Foward context menu so scatter plot is top of bars. (Origin plot layer1 first and layer2 on top of layer1)

For the future, I would recommend following this process:

1. Plot the data from Sheet1.
2. Change the x-axis to numeric, instead of text.
3. Create a second layer, and set this layer as Straight (1 to 1) in the Layer Properties dialog.
4. Add the data from Sheet2 to the 2nd layer.

Hope this helps.

Thanks,
Will Munson.
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