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
 Contour plot
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

babu

Germany
Posts

Posted - 11/25/2003 :  08:49:44 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi all,

I want to have a contour plot with XYZ values(cyclindrical co-ordinate). The values are in random order. I have problem with matrix conversion. My worksheet has 1080 cells and some zero values are also there.

I would be grateful if anybody helps me.

bye
Babu.

easwar

USA
1965 Posts

Posted - 11/25/2003 :  2:41:44 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Babu,

Origin currently does not support plotting in cylindrical co-ordinates. You will need to first transform your data to rectangular co-ordinates. Once you have the data in XYZ, you will need to first convert the XYZ data to a matrix. You can do this by setting the third column which holds Z values to be of type Z, click and select this column, and the use the Edit->Convert to Matrix menu. There are many conversion methods. If your XYZ data is regularly spaced - both X and Y are regularly spaced and for each X there is a corresponding - you can use Regular Conversion. If the data are regularly spaced, but some X-Y pairs are missing, you can used Sparse conversion. And if the spacing in X, Y is not regular, you need to use a random gridding routine. There are five choices of random gridding in version 7 and higher.

Hope this helps.

Easwar
OriginLab.


Go to Top of Page

babu

Germany
Posts

Posted - 11/28/2003 :  07:16:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Easwar,
Thanks for ur prompt reply. I dont know how to convert my cylinderical co-ordinates to rectangualr co-ordiantes. the one way i got is making the edge values to zero to get rectangular co-ordinates, but it doesnt work out. Can u plse tell me the possiblities how to change the cylinderical co-ordinates to rect..
Also i want one more help from u, i have some values like below:

1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16

and i want origin to do automatically like this,
1
2
3
4
5
.
.
16

I have totally 1080 values and with more than 5 digits.


I hope you can surely help me reg this.
Expecting ur reply,
bye
Babu.
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 11/28/2003 :  07:44:52 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Babu,

This earlier topic answers your second question: How to range a multi-column data to one column?

Mike Buess
Origin WebRing Member
Go to Top of Page

babu

Germany
Posts

Posted - 11/28/2003 :  08:51:16 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank u very much, Mike.

Babu
Go to Top of Page

easwar

USA
1965 Posts

Posted - 11/28/2003 :  10:40:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:

I dont know how to convert my cylinderical co-ordinates to rectangualr co-ordiantes.


Hi Babu,

Say your orignial data is in three columns A,B,C and the data represents r, theta, z respectively, in cylindrical coordinates.

You can use the transformation equations:
x=r*cos(theta)
y=r*sin(theta)
z=z

> Go to Tools|Options menu item and in the dialog that comes up, go to the Numeric Format tab. Under Angular Units, select appropriate unit for your theta
> Add three more columns D, E, F to the worksheet
> rt-click on col D, and select Set Col Value from context menu
> set the formula to
col(D)=col(A)*cos(col(B))
> set formula for col E to:
col(E)=col(A)*sin(col(B))
> set formula for col F to:
col(F)=col(C)

> Now set col F to be of type Z.
> Highlight col F and use menu item Edit|Convert to Matrix to convert your transformed rectangular coordinate data to a matrix to make the contour plot etc.

Easwar
OriginLab.


Edited by - easwar on 11/28/2003 10:43:30 PM
Go to Top of Page

babu

Germany
Posts

Posted - 12/02/2003 :  08:49:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Easwar,

Thanks for ur reply. I did whatever u said, but now my problem is as follows:

After all conversion, and when i tried to convert to matrix (XYZ Irregular) it says "doubble XY pair found". I have same z values for some xy pairs.

How to deal this problem?

Bye
Babu.
Go to Top of Page

easwar

USA
1965 Posts

Posted - 12/02/2003 :  10:16:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Babu,

I presume you are using a version older than 7. In version 7 and higher, we look for duplicates and replace them with mean value of the z's.

So in your case, you will need to replace duplicates yourself (with some LabTalk code for instance, ro remove them manually) and then run the conversion.

Easwar
OriginLab.

Go to Top of Page

babu

Germany
Posts

Posted - 12/04/2003 :  07:57:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
hi easwar,

I m using OriginPro 7G in my institute.

Bye
Babu
Go to Top of Page

easwar

USA
1965 Posts

Posted - 12/04/2003 :  2:01:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Babu,

I tested using 7GSR4 and duplicates are replaced with mean value for Z. Maybe the removing duplicates was added in a later service release. You can patch your version 7 using the latest SR4 release:
http://www.originlab.com/index.aspx?s=12&lm=+64

Easwar
OriginLab.

Go to Top of Page

babu

Germany
Posts

Posted - 12/12/2003 :  05:48:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Dear Easwar,

I had updated the version. Now i am facing the following problem.

1, I have 1080 'z' values. When i do the calculation with all 'z' values then origin calcuate something wrong results, but with limited values(i tried with 200 values) it calculates correctly. Where is the problem?

2, For that 200 values calculation, i have the maximum 'z' value of 0.07 and result shows around the edges of contour plot something around 0.25. In the center of the plot everything was correct. How to deal with this problem?

I hope you can understand my problem.

Thanks,

Babu.
Go to Top of Page

easwar

USA
1965 Posts

Posted - 12/15/2003 :  11:42:26 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Babu,

Please send your OPJ (or the data file with details on what steps you followed) to your tech support contact, so that we can take a look.

Thanks,

Easwar.


Go to Top of Page

babu

Germany
Posts

Posted - 01/09/2004 :  09:16:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:

Hi Babu,

Please send your OPJ (or the data file with details on what steps you followed) to your tech support contact, so that we can take a look.

Thanks,

Easwar.






Hallo Easwar,

I had send my data last month. But i didnt get any response till now? Have you received my data file?

Expecting your reply,

Babu.
Go to Top of Page

easwar

USA
1965 Posts

Posted - 01/09/2004 :  11:20:25 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Babu,

Please send your OPJ, associated notes, code etc. directly to tech support and not to me. And they will look at it and get back to you.

Thanks,

Easwar.


Go to Top of Page

babu

Germany
Posts

Posted - 01/12/2004 :  12:37:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
hi easwar,

how to send my data to techsupport? is there any specific email id? help me reg this.

babu.
Go to Top of Page

Lorraine

USA
66 Posts

Posted - 01/12/2004 :  7:07:39 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Dear Babu,
Since you are in Germany, I will give you the information for the Origin support team in your country.

They are:
Additive
Rohrwiesenstr. 2
D-61381 Friedrichsdorf/Ts Germany
Phone: +49 6172 5905 0
Fax: +49 6172 77613
E-mail: origin@additive-net.de
Web: http://www.additive-net.de/software/origin/

Please send your inquiry and your files to origin@additive-net.de. I have contacted the support team at Additive and have let them know about your inquiry here on this forum.

Thank you for your inquiry and for your interest in Origin!



Lorraine
OriginLab Technical Support
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