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
 script-3D pie plot with user def template
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

zknauss

USA
72 Posts

Posted - 07/26/2022 :  09:46:23 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I'm trying to plot data to one of my templates for a 3D pie chart using the script below. Where col 8 is a categorical list and col9 is the number of items under that category. When I plot this I get a line graph instead of my template. I'm not sure if I'm using the wrong X-function. Thanks!

plotxy iy:=[FreqSort]"TiSorting"!(8,9) plot:=230 ogl:=[<new template:=Color_Blind_Corrected_Pie_Chart_2>];

ZTK

YimingChen

1646 Posts

Posted - 07/26/2022 :  10:48:26 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Is it a customized template you used here? Does the script work if you use the system 3D pie chart template?

plotxy iy:=[FreqSort]"TiSorting"!(8,9) plot:=230 ogl:=[<new template:=Pie>];


James
Go to Top of Page

zknauss

USA
72 Posts

Posted - 07/26/2022 :  2:10:45 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Yes that works it just doesn't when I use my customized template

ZTK
Go to Top of Page

YimingChen

1646 Posts

Posted - 07/26/2022 :  4:20:03 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Looks like the X-function couldn't find the template. Make sure to save the template to the User Files Folder. Otherwise, you need to provide the full path.

James
Go to Top of Page

zknauss

USA
72 Posts

Posted - 07/27/2022 :  12:21:33 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks I got the 3D pie to work now I'm trying to do the same only with a browser line graph (BBLINE) see below script. I get the output but instead of being in the browser format with each trace on a separate layer there is no browser window and all the traces are in one layer.


plotxy iy:=[NCONROIData]"Data (ROIs)"!(1,2:end) plot:=230 ogl:=[<new template:=BBLINE>]; Save; type -b;


ZTK
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