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 for Programming
 Forum for Origin C
 Create "Grouped Box Chart- idexed Data" within or

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
Mathias.list@posteo.de Posted - 05/05/2021 : 10:50:41 AM
Hi everyone,
I once more are stuck with origin C. I want to create "Grouped Box Chart- idexed Data" plots from colums of a worksheet. I can make the plot manually within the GUI. The plot is a operation shown in the OperationManagerand. I can save the Theme as template. However I'm not figuring out how to create one this plot from within Origin C...
I hope you can help me out, or give me hint how to reproduce the plot from the template.

Best regards and thanks in advance
Mathias

Origin Ver. and Service Release (Select Help-->About Origin):
OriginPro 2021 (64-bit)
9.8.0.200 (Academic)
Operating System: Windows 10
2   L A T E S T    R E P L I E S    (Newest First)
Mathias.list@posteo.de Posted - 05/07/2021 : 03:15:24 AM
Thanks YimingChen,

that helps me big time. I did not mange to proceed before since I was always searching under "All Books/Origin C" on the support page. Thanks for your Code and the hint to the "X-Functions" documentation.
YimingChen Posted - 05/06/2021 : 12:24:19 PM
You may need to call LT from OC to run plot_gboxindexed X-function. See code below. col(3) is data col and col(1),col(2) are group cols and these are inputs to the xfunction.

void Make_Plot()
{
	Worksheet wks = Project.ActiveLayer();
	string LTstr = "plot_gboxindexed -r 1 irng:=3 group:=(1,2) theme:=\"Box_I-shaped\"";
	wks.LT_execute(LTstr);
}


The X-function can be referred from:
https://www.originlab.com/doc/X-Function/ref/plot_gboxindexed

James

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