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
 All Forums
 Origin Forum
 Origin Forum
 problem of contour plot for nonlinear xyz data

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
MacLanD Posted - 07/08/2004 : 05:44:33 AM
Hi,

I have a set of XYZ data, the XY are regular spaced, and there is no problem on plotting the contour.


But when after conterting the XY into the reciprocal space using Sine and Cosine function, not only the XY are irregularly spcaing,but also randomly sorting. The plot should look similar to the following image. The shape of the data point area is like a rhombus.


When I use "convert to matrix", it generate error. Is there a way to do the contour plot? Thanks.

Edited by - MacLanD on 07/08/2004 05:47:12 AM

Edited by - MacLanD on 07/08/2004 05:54:19 AM
4   L A T E S T    R E P L I E S    (Newest First)
MacLanD Posted - 07/09/2004 : 03:07:12 AM
Hi,

The data file has been sent to tech@originlab.com , please take a look at it. Thank you very much.


Macland
easwar Posted - 07/08/2004 : 11:33:35 AM
Hi,

Please send your data/OPJ to tech@originlab.com so that we can try your transformation/conversion to see the problem.

Please mention this forum post in your e-mail message.

Thanks,

Easwar
OriginLab

MacLanD Posted - 07/08/2004 : 10:33:50 AM
Thank you for your quick response.

The original XY shown in the attached graph is a relative value. The absolute value x=97.95 to 101.97430 y=9.88 to 11.86., they are all in degree.

The formula that I use for conversion is x'=[cos(y)-cos(x-y)]/c ,
y'=[sin(y)-sin(x-y)]/c. c is a constant.

The problem is when I use Edit->Convert to matrix->Random XYZ, it tells me "Error! Failed to sort and/or replace duplicates with mean value"

I don't know what is wrong.

Edited by - MacLanD on 07/08/2004 10:34:18 AM

Edited by - MacLanD on 07/08/2004 10:42:09 AM
easwar Posted - 07/08/2004 : 09:17:20 AM
Hello,

What is the exact transformation equation that you are using? I see that your original x,y values go from -2 to 2, and -1 to 1 whereas your transfomred axes go from 4600 to 5100 and 5800 to 6100

Anyway, if you transform the x,y values of your regularly spaced xyz dataset with a nonlinear equation, this can result in an xyz dataset where the x and y are not regular anymore. Looks like this is the case. Then it is not possible to perform a regular conversion of the transformed data - you will need to use one of the random xyz gridding routines.

Easwar
OriginLab


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000