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

tbarrou

France
36 Posts

Posted - 10/20/2016 :  05:51:07 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I'm trying to make a polar graph with several sets of data having different range of values. Usually on 2D graph I add layers and Y-axis (a linked x-Axis), but in case of a polar chart, this seems not possible.
Is there a way to have several radial axis with different min/max on the same polar graph (same angular axis) and associate a data set to one of these radial axis ?

Thanks for your help



Origin Ver. and Service Release (Select Help-->About Origin): 2016 SR2
Operating System: w7

Hideo Fujii

USA
1582 Posts

Posted - 10/20/2016 :  1:55:12 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi tbarrou,

I have tried to make a 2-layer graph with two polar charts as layers, linked the second layer's radial scale(Y) to the first layer with custom scale mapping (e.g., Y1=Y1/30+0.2), but it worked okay; i.e., when I changed the radial scale of the parent's layer, the child's scale also changed accordingly. So, I couldn't reproduce the problem of layer linking between two polar charts.

Could you an describe the steps of your procedure here?

Thank you.

--Hideo Fujii
OriginLab

Go to Top of Page

tbarrou

France
36 Posts

Posted - 10/21/2016 :  04:56:19 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Hideo,

I tried adding a layer by using Graph/NewLayer/Right-Y (Linked X). By doing this, I have a regular 2D plot, not a polar plot... There is no menu like add new layer "Radial-Y-Axis (Linked Angular-X-Axis)"...
I did not find how converting the new 2D layer (already linked to the initial polar plot layer) into a polar plot.
I double check the Help files, but I didn't find description on adding a "polar" layer

I just thought to use graph merging and this works well so far. It just leads to create many graphs in the project.

Thanks
Thomas
Go to Top of Page

snowli

USA
1387 Posts

Posted - 10/21/2016 :  3:40:48 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Maybe the simplest is just plot each polar graph as individual graphs.

Then choose Graph: Merge Graph Windows...

In the dialog, set arrangement to be 1 row x 1 column so they overlap.

Thanks, Snow
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 10/21/2016 :  5:57:43 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi tbarrou,

In addition to Snow's suggestion, to add an empty layer, could you please to try the following script (which preserves the original graph just in case)?:
parentLayer$=%H;
window -d;
childLayer$=%H;
doc -e D{
 layer -e %C;
}
merge_graph option:=specified graphs:="%(parentLayer$)"+char(10)$+"%(childLayer$)" arrange:=0  row:=1 col:=1 linkarrange:=1;
layer2.link=1;
layer.Y.link=1;
Hope this also helps.

--Hideo Fujii
OriginLab

Edited by - Hideo Fujii on 10/21/2016 5:58:49 PM
Go to Top of Page

tbarrou

France
36 Posts

Posted - 10/24/2016 :  04:06:22 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Snow, Hideo,

I got what i wanted by making new plots and merging them into one.
I tried the script that also works. Angular axis is identical but not linked, which is seems normal as there is no "layer2.x.link =1" in the script.

this an idea for new future features.

Thanks for your help
Thomas
Go to Top of Page

VladGets1

Germany
12 Posts

Posted - 11/01/2016 :  07:47:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi
Do you have a video guide?

quote:
Originally posted by tbarrou

Hi Snow, Hideo,

I got what i wanted by making new plots and merging them into one.
I tried the script that also works. Angular axis is identical but not linked, which is seems normal as there is no "layer2.x.link =1" in the script.

this an idea for new future features.

Thanks for your help
Thomas

Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 11/01/2016 :  09:45:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

> Do you have a video guide?

Regarding merging graphs, you can watch:
http://www.originlab.com/Index.aspx?go=Support/VideoTutorials&pid=1555
http://www.originlab.com/Index.aspx?go=Support/VideoTutorials&pid=1170

For how to run a script, here is the simplest form of running from he Custom Routine button:
http://www.originlab.com/doc/LabTalk/guide/Getting-Started-with-LT#Custom_RoutineCustom_Routine_Button
Or, more generally:
http://www.originlab.com/doc/LabTalk/Tutorials/Tutorial-Get-Started

Hope you can go through smoothly to learn them.

--Hideo Fujii
OriginLab
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