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
 The problem for conversion from worksheet to matri
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

dashliu

USA
2 Posts

Posted - 10/13/2011 :  07:55:44 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi guys,

I am facing a problem to convert the uniformly spaced data to matrix. I read this topic:
"convert not uniformly spaced data to the matrix" on the page: http://www.originlab.com/forum/topic.asp?TOPIC_ID=6736

Per the suggestion of Laurie, I completed the conversion from worksheet to XYZ successfully with the help of script. Afterward, I tried to use ¡°Convert worksheet to matrix ¨C XYZ gridding ¨C Random (Renka Cline)¡±.

The problem is the data shown on the converted matrix looks very weird. For instance, all the data in my worksheet were positive, but some of data shown on the matrix were negative values. I think there were something wrong during the conversion but I don¡¯t know what happened.

I also tried the method of Random (Thin Plate Spline), but it said ¡°The method is not suitable for large dataset¡±.

Another question is: for the color filled contour, is that possible to change the scale type of axis from linear to log?

Thank you very much
Dash

Hideo Fujii

USA
1582 Posts

Posted - 10/13/2011 :  11:08:55 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Dash,

Since Origin version 8.5, Origin can make a contour plot from such "virtual matrix" directly.
See http://www.originlab.com/index.aspx?go=Products/Origin/DataManagement/WorkbooksAndWorksheets&pid=1713 .

To do this, you can highlight all worksheet cells (left-click the corner cell between "Long Name" and "A(X)"), then choose the Plot menu.

--Hideo Fujii
OriginLab

P.S. You can change the axis scale of the contour plot to Log10 scale from the Axis dialog box ("Format: Axis" menu).

Edited by - Hideo Fujii on 10/13/2011 11:12:30 AM
Go to Top of Page

dashliu

USA
2 Posts

Posted - 10/13/2011 :  12:29:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks, Hideo

However, I use Origin 8.0, does it possible to do that.

Regarding of the axis scale, I found the selection for the change from linear to log10 is unavailable (It is grey). That is why I don't know how to do that.

I appreciate that.
Dash
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 10/13/2011 :  4:51:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Dash,

I thought if your data is truly equally spaced, you can apply the "Direct Worksheet to Matrix Conversion" method to the data body (excluding 1st row and 1st column), then remap; However, it your X data (6.04, 6.98, 8.06,...) is really not equi-spaced. So, sorry, but I don't have much to say. Also, regarding the log scale for contour plots, it seems your old Origin version has the limitation before improved later.

--Hideo Fujii
OriginLab
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