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
 Filling data into a matrix
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

nina_hs

Germany
2 Posts

Posted - 02/15/2017 :  07:03:16 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,

I am having trouble getting my data into the correct shape for a matrix.

The data I want to show has been recorded over a flat surface like this:
x1..x2..x3..x4
x5..x6..x7..x8
x9...

But I receive a column with the values looking like this from the measurement program:
x1
x2
x3
x4
x5
...

Is there a possibility to change the format and insert the data into a matrix for 3D-representation?

Best regards
Nina


Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2016 (64 bit)
Operating System: Windows 7

Edited by - nina_hs on 02/15/2017 07:09:32 AM

Hideo Fujii

USA
1582 Posts

Posted - 02/15/2017 :  09:35:03 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Nina,

Please try the following: (Suppose your data are originally stored in a worksheet column.)

1) Highlight the data column, and choose "Worksheet: Split Columns" menu.
2) In the tool, set the Subgroup Method to "By Every Nth Row", and enter 4 to N field. Click OK.
This produces a worksheet with 4 columns as arranged like:
x1 x2 x3 x4
x5 x6 x7 x8
x9...
3) Choose "Worksheet: Convert to Matrix: Direct" menu, and click OK.
This creates a matrix sheet with the above data.

This works as you wanted?

--Hideo Fujii
OriginLab

Edited by - Hideo Fujii on 02/15/2017 09:39:04 AM
Go to Top of Page

nina_hs

Germany
2 Posts

Posted - 02/15/2017 :  09:59:39 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Hideo,

this is exactly what I was hoping for, thanks a lot!!

For a 4*4 matrix it would have been possible to convert the columns manually, but my sets are a bit bigger, so this automated conversion works great!

Thanks again and kind regards
Nina
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