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
 log10 scale and negative values
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

erciyes38

Turkey
Posts

Posted - 10/22/2009 :  07:13:52 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. OriginPro8
Operating System: Win.Xp

I need to plot my data in log10 x scale.But, my data points are negative value points.

are any way to solution of the problem?

larry_lan

China
Posts

Posted - 10/23/2009 :  01:29:25 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi:

Mathematically, what's the value of log(-1)? So it's impossible to use the real logarithm axis.

So I supposed your data is in a really wide range and you want to plot them tight. An workaround as below:



Column A and B are raw data, and the other columns are:

Col(C) = -log(-Col(A));
Col(D) = Col(B);

And Column E is just the same data from Column A, but sort ascendingly. Then we will use this column E as axis ticks. Plot column C & D, and double-click the X axis to bring up X Axis property dialog. On Tick Labels tab, use Tick-indexed dataset Type and assign column E to Dataset drop down:



Then you will get something like:



Note that it's not really log scale. The scale still linear, but we use different tick labels.

Hope it helps.

Thanks
Larry
OriginLab Technical Services
Go to Top of Page

erciyes38

Turkey
Posts

Posted - 10/27/2009 :  11:44:52 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
thanks a lot for your help...

nicely.
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