Author |
Topic  |
|
AndreLz
Brazil
4 Posts |
Posted - 08/22/2011 : 4:02:03 PM
|
Origin Ver. 8.5.1 and Service Release (Select Help-->About Origin): Operating System: WinXP
I need to plot a polar contour plot from the data in a matrix.
Each line of the matrix is the R value and the columns the theta. But I notice that Origin only accepts three columns (R, theta and the value) and the matrix has 19 lines (0 to 90, increase by 5) and 73 colums (0 to 360, increased by 5), with the entries of it being the values that I would like to get the contour.
Is there a way to plot all this matrix in just one step? I know that it is possible in the recatngular contour plot.
Thanks Andre
Thanks Andre |
|
Hideo Fujii
USA
1582 Posts |
Posted - 08/24/2011 : 3:18:30 PM
|
Hi Andre,
You can first convert your matrix to a XYZ worksheet ("Matrix: Convert to Worksheet" menu, then Method="XYZ Columns"). Then, you can plot the polar contour from the worksheet. If you want a one-step operation, for example, you can run a script for the XYZ conversion and plotting, e.g.m2w method:=xyz option:=xconst;
wks.colSel(1,1);
wks.colSel(2,1);
wks.colSel(3,1);
worksheet -p 243 PolarContour; You can make a script file(.OGS) of this code, and make a tool button to run the script file. Please see details in the following section in Origin Help: UserGuide> Customization and Automation> Customizing Toolbars> > User-Defined and Custom Toolbars and Toolbar Buttons
Hope this helps.
--Hideo Fujii OriginLab |
 |
|
AndreLz
Brazil
4 Posts |
Posted - 08/25/2011 : 11:52:18 PM
|
Hi Hideo! Thanks for the help!
I've made what you suggested - the conversion to XYZ worksheet - but it didn't work. What i got was a piece of the graph only ranging between 0 and 10.

But the idea was perfect and useful! I don't know if Origin can make this variation of range to the full 360, because it normalized my entire matrix to fit in the 10 interval; what I did then was to use the same logic and create a matrix ranging from 0 to 360

Well, this is the expected result - still need some formatation. In the end it was possible convert the matrix to the graph I needed. I thank you again for the attention and help Hideo!
Andre
|
 |
|
cristianwallace
Argentina
2 Posts |
Posted - 12/05/2012 : 1:12:58 PM
|
Hello, I have a problem with this Graph! i need to make it like a polar contour but I can´t... can you help me? Thanks!!

I need a graph like this! and I cant!!

i can send the matrix by email! or from here, i dont know how!
renewable energy |
 |
|
snowli
USA
1411 Posts |
Posted - 12/05/2012 : 1:42:03 PM
|
Hello,
Origin supports polar contour with different R and Therta column orders. It looks you used wrong one. See your Radius axis shows 350. If you have Radius column first and then Therta column, then the Z columns, please use Plot: Contour: Polar Contour r(X)therta(Y) If you have Therta column first and then Radius column, then Z columns, please use Polar Contour therta(X) r(Y).
Thanks, Snow Li OriginLab Corp. |
Edited by - snowli on 12/06/2012 09:40:04 AM |
 |
|
cristianwallace
Argentina
2 Posts |
Posted - 12/06/2012 : 3:49:42 PM
|
Thank you very much! I could do it!!!
quote: Originally posted by snowli
Hello,
Origin supports polar contour with different R and Therta column orders. It looks you used wrong one. See your Radius axis shows 350. If you have Radius column first and then Therta column, then the Z columns, please use Plot: Contour: Polar Contour r(X)therta(Y) If you have Therta column first and then Radius column, then Z columns, please use Polar Contour therta(X) r(Y).
Thanks, Snow Li OriginLab Corp.
renewable energy |
 |
|
alirezausefi
1 Posts |
Posted - 05/26/2014 : 08:58:24 AM
|
hi i have 3 type of data, Azimuth, degree, dip, degree, and value, dimensionless. i want to have a contour plot that has azimuth as theta dip as radius and value as z part. the ranges of data are: Azimuth: 0:1:360 Dip: 0:1:90 0.25<value<2.5 When i draw the contour there are some points that have under zero value. i dont know why. but when i change the smooth parameters these values is corrected but the total contour is totally bad. how can i solve this problem? if there is any one that can help me with my data, i can send them to him. this is my email: alireza.yousefi@ut.ac.ir |
 |
|
Echo_Chu
China
Posts |
|
|
Topic  |
|
|
|