Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
wojtek_
Posted - 03/16/2015 : 05:52:05 AM Hello,
I have a following problem. When I'm trying to convert radians to degrees or vice versa I have a result -- (two dashes). What's wrong?
Origin Ver. 8 and Service Release 0 Operating System: Win7 x64
4 L A T E S T R E P L I E S (Newest First)
wojtek_
Posted - 03/18/2015 : 09:35:37 AM Thank you Hideo! I resolved this problem before in same way as you proposed. I was just wondered what's wrong. I thought that if I try to use function which is not defined I get error text in the Command Window.
Hideo Fujii
Posted - 03/17/2015 : 10:34:57 AM Hi wojtek,
The built-in functions, degrees(x) and radians(x) seem to have been introduced in Origin 8.5.1 . You can define them (e.g, in the script window beforehand) by yourself as:
degrees(x)=180*x/pi;
radians(x)=pi*x/180;
--Hideo Fujii OriginLab
wojtek_
Posted - 03/17/2015 : 04:13:32 AM Hi Hideo,
Thanks for reply. Unfortunately it is not a reason. I've tried this but I got error even when I make the same calculation in Command Window. I attached example on picture below.
I have also access to newer version of Origin and the problem doesn't exist but now I have to use this version. Any other suggestions?
Hideo Fujii
Posted - 03/16/2015 : 2:57:10 PM Hi wojtek,
I suspect that your data in the cells in the worksheet column have been stored as text strings rather than the numeric values. In a typical situation, the former appear left-adjusted, and later appear right-adjusted in the cells. You can double-click the column header of your data to show the Column Properties dialog, and change the column's "Format" to "Numeric" rather than the default "Text & Numeric" to force them to be converted to the numbers.
I hope my suspect is your actual situation. If it isn't, please describe where is your data, and in which way you have tried to convert your data.