Author |
Topic  |
|
AKazak
Russia
1228 Posts |
Posted - 06/29/2021 : 11:46:33 AM
|
OriginPro 2021b (64-bit) SR2 9.8.5.212 Windows 10 21H1 x64
Greetings!
Columns A(X), B(Y), and C(Z) produce the 3D correct graph. However, Columns A(Y), B(X), and C(Z) return the following error:

Is this a bug or a feature?
--- Andrey |
|
Chris D
428 Posts |
Posted - 06/29/2021 : 11:51:21 AM
|
That's just how Origin works in many cases. That is, it is by design.
Thanks, Chris Drozdowski Originlab Technical Support
|
 |
|
AKazak
Russia
1228 Posts |
Posted - 06/29/2021 : 11:57:30 AM
|
quote: Originally posted by Chris D
That's just how Origin works in many cases. That is, it is by design.
Thanks, Chris Drozdowski Originlab Technical Support
What is the best strategy in this case: swap A with B and designate them as X and Y correspondingly? Or something else?
What is the logic behind refusing the A(Y), B(X), and C(Z) scheme?
--- Andrey |
 |
|
Chris D
428 Posts |
Posted - 06/29/2021 : 1:25:42 PM
|
You can swap column designations or simply not select any columns and select the graph. The Plot Setup dialog will open allowing you to choose X,Y,&Z columns manually from a list.
Thanks, Chris Drozdowski Originlab Technical Support
|
 |
|
AKazak
Russia
1228 Posts |
Posted - 06/29/2021 : 2:11:43 PM
|
quote: Originally posted by Chris D
You can swap column designations
Thanks, Chris Drozdowski Originlab Technical Support
OK. Is there an one-click way to swap column designations?
--- Andrey |
 |
|
Chris D
428 Posts |
Posted - 06/30/2021 : 2:10:22 PM
|
There is no way to create a one-click click solution, really.
Thanks, Chris Drozdowski Originlab Technical Support
|
 |
|
snowli
USA
1446 Posts |
Posted - 06/30/2021 : 6:01:01 PM
|
Regarding to your original question, with YXZ type of worksheet, u can plot by selecting column C only. It will use correct X and Y columns in front of it.
Thanks, Snow |
 |
|
AKazak
Russia
1228 Posts |
Posted - 06/30/2021 : 9:59:39 PM
|
quote: Originally posted by snowli
Regarding to your original question, with YXZ type of worksheet, u can plot by selecting column C only. It will use correct X and Y columns in front of it.
Thanks, Snow
OK, got it! How does Origin interpret if I select three columns in a row? It seems that in this case it assumes XYZ designation. Right?
--- Andrey |
 |
|
snowli
USA
1446 Posts |
Posted - 07/01/2021 : 09:00:00 AM
|
Origin tries to find the closest X and Y on the left to use.
For 2D, if only choosing Y to plot and there is X on the left. It will use the closest X found on the left. If no X on the left, then it will use closest X found on the right.
For 3D or contour, when choosing Z to plot, it will find closest X and Y on the left. If no X or Y on the left, it willl find the closest on the right.
Thanks, Snow
|
 |
|
AKazak
Russia
1228 Posts |
Posted - 07/01/2021 : 11:15:15 AM
|
quote: Originally posted by snowli
Origin tries to find the closest X and Y on the left to use.
For 2D, if only choosing Y to plot and there is X on the left. It will use the closest X found on the left. If no X on the left, then it will use closest X found on the right.
For 3D or contour, when choosing Z to plot, it will find closest X and Y on the left. If no X or Y on the left, it will find the closest on the right.
Thanks, Snow
OK, this works in the case if a user selects a single column (Y or Z).
What does Origin do if I select three (YXZ) columns and call the plot command?
--- Andrey |
 |
|
snowli
USA
1446 Posts |
Posted - 07/01/2021 : 12:07:40 PM
|
As you have tried, it will not work.
I saw the issue has been jiraed in P5 of ORG-20733 but not been addressed yet since the workaround is selecting Z to plot.
Thanks, Snow |
 |
|
|
Topic  |
|
|
|