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
 script-3D pie plot with user def template

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
zknauss Posted - 07/26/2022 : 09:46:23 AM
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
4   L A T E S T    R E P L I E S    (Newest First)
zknauss Posted - 07/27/2022 : 12:21:33 PM
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
YimingChen Posted - 07/26/2022 : 4:20:03 PM
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
zknauss Posted - 07/26/2022 : 2:10:45 PM
Yes that works it just doesn't when I use my customized template

ZTK
YimingChen Posted - 07/26/2022 : 10:48:26 AM
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

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