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
 Mismatch between real value and y-axis value
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

alliceinw0

6 Posts

Posted - 03/09/2024 :  5:04:56 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,

I am noticing a mismatch between the real value of the scattering point in my plot and the y-axis. For example, my first scatter point's y-value is 2.7, but it is placed way higher than the 2.8 y-axis value in my plot. This is better illustrated in the attached image. Any possible solutions for this issue?

Thanks in advance!

Edited by - alliceinw0 on 03/09/2024 5:07:22 PM

YimingChen

1594 Posts

Posted - 03/11/2024 :  08:45:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
What version of Origin do you use? And could you share your project file? Thank you.

James
Go to Top of Page

alliceinw0

6 Posts

Posted - 03/11/2024 :  4:34:47 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

What version of Origin do you use? And could you share your project file? Thank you.

James



Hi, I am using the 2023 version. https://my.originlab.com/ftp/forum_and_kbase/Images/Critical%20Points_ForOrigin.opju

Please find attached the project file. The points marked as CP E0 seem to be at the correct position. The problem is found for the points of CP E1 and CP E2.

Many thanks.
Go to Top of Page

aplotnikov

Germany
160 Posts

Posted - 03/11/2024 :  5:08:27 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
win -o Graph2 {doc -ef LP {lay -a;}}


I'm curious, what method have you used to plot the data?
Go to Top of Page

alliceinw0

6 Posts

Posted - 03/11/2024 :  6:16:37 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by aplotnikov

win -o Graph2 {doc -ef LP {lay -a;}}


I'm curious, what method have you used to plot the data?



I used the 9 by 9 panel option, and then, through the layer management menu, I moved and connected the top and bottom plots.

Go to Top of Page

minimax

348 Posts

Posted - 03/12/2024 :  03:20:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi alliceinw0,

Aha, it is a kind of "magic" display...

The tick label now displays with 1 decimal digit only.

If you change it to show 2 decimals, you will see the "2.8" is in fact "2.75".
Go to Top of Page

aplotnikov

Germany
160 Posts

Posted - 03/12/2024 :  04:37:14 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
minimax,

After re-scale ("lay -a") I haven't found any discrepancies between worksheet data and axis ticks - all points have been plotted correctly. Seems, that the problem may occur if adding a plot to a layer in a specific way without automatic re-scale - I have no idea, which one exactly.
Go to Top of Page

minimax

348 Posts

Posted - 03/12/2024 :  04:46:27 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi aplotnikov,

Firstly, I do not see "lay -a" takes effect for Layer 8 (bottom-center) of user's project.

i.e. after it is run, the mismatching still appears in 2023/2024.


User's Layer 8 triggers the "discrepancy" since it sets the "Anchor Tick" option with 2.55 AND uses 0.1 as increment value.

Either removing 2.55 or changing 0.1 to be 0.15 can also workaround the display.

Indeed the current rescale logic is kind of magic (complicate).



Go to Top of Page

aplotnikov

Germany
160 Posts

Posted - 03/12/2024 :  07:24:03 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by minimaxFirstly, I do not see "lay -a" takes effect for Layer 8 (bottom-center) of user's project.

Right, I considered layer 5 only, my fault.
quote:
Originally posted by minimax
User's Layer 8 triggers the "discrepancy" since it sets the "Anchor Tick" option with 2.55 AND uses 0.1 as increment value.
Either removing 2.55 or changing 0.1 to be 0.15 can also workaround the display.
Indeed the current rescale logic is kind of magic (complicate).

Indeed it looks like a bug.
Go to Top of Page

alliceinw0

6 Posts

Posted - 03/12/2024 :  09:29:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by minimax

Hi alliceinw0,

Aha, it is a kind of "magic" display...

The tick label now displays with 1 decimal digit only.

If you change it to show 2 decimals, you will see the "2.8" is in fact "2.75".



Thank you minimax, indeed changing the number of decimal points worked perfectly for me!
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