T O P I C R E V I E W |
joseph.lac |
Posted - 03/12/2007 : 1:41:27 PM Origin Version (Select Help-->About Origin): 7.5 sp6 Operating System:win xp pro
All, When I take my X,Y,Z data and convert to matrix (direct) and then make a contour plot my x & Y scales do not match the data. For my data x ranges from .2 to 5 and y ranges .3 to 2. The plot has x & Y scaled 1 to 10?? Anyone have any idea what is going on. Thanks
Joe |
3 L A T E S T R E P L I E S (Newest First) |
easwar |
Posted - 03/12/2007 : 10:08:56 PM Hi Joe,
The "direct conversion" method is basically for data that is arranged as an mxn cell configuration in a worksheet and one just wants to put the data into an mxn matrix object. In this case it is assumed that the data is regularly spaced in x, y and user has option to specify top most row and left most column as containing the regularly spaced x,y values.
From your description, what you have is irregularly spaced data that is initailly organized in three columns. So what you need to do is just set the column types as X,Y,Z and select Z column and do a Random Conversion. That should then take the limits of your actual X, Y data and grid the data and create a matrix. So that should result in your actual xmin, xmax, ymin, ymax being used for setting the matrix coordinate values. What do you see in the matrix when you do "View:Show X/Y" as Larry suggested? If that shows 1 to 10 instead of your xmin-xmax and ymin-ymax, then not sure what is going on. It may be worthwhile to send your data to tech support then.
Easwar OriginLab
|
joseph.lac |
Posted - 03/12/2007 : 5:00:34 PM I tried following the directions you gave me but still not working?? So probably operator error so let me explain what I have for data and what I did and maybe you can help me get it right. I have 3 columns of x,y, z data. The x and Y data is not regularly spaced. At first i wasn't reformatting data per the link you pointed me to. Thats when I wasn't getting the right X & Y ranges in my plots. I reformated with a column of X and put Y across the top row (and of course moved Z round appropriately). Then when I tried a direct convert it wouldn't let me. I tried other matrix conversions and ran into the same problem I had before.
Thanks
Joe |
larry_lan |
Posted - 03/12/2007 : 2:23:16 PM Hi Joe:
You can manually change the X/Y coordinates in Matrix Dimensions dialog (Select Matrix : Set Dimensions), and see the actual X/Y value by selecting View : Show X/Y.
In fact, you can also specify the X/Y coordinates when converting matrix. Please read:
Introduction to Matrixes>Worksheet to Matrix Conversion>Direct Conversion
of Origin Help.
Larry OriginLab Technical Services |
|
|