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 for Programming
 LabTalk Forum
 Boxplot median value labtalk command
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Sprenger

Germany
15 Posts

Posted - 01/06/2021 :  05:03:32 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release: Origin 2021 (64-bit) 9.8.0.200 (Academic)
Operating System:Windows 10 (business editions), version 1909

Hello,
is there a labtalk command to add the median value label to a box plot?

Alternatively: Is there a way to add this to a theme? In the Theme Organizer is the possibility to add mean value label, but not median.

Many thanks in advance
Frank

cpyang

USA
1406 Posts

Posted - 01/06/2021 :  06:24:33 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
See

https://my.originlab.com/forum/topic.asp?TOPIC_ID=46222

These were added for Origin2021 as


layer.plot.boxchart.line=1,2,3; //1=median,2=mean
layer.plot.boxchart.label=1,2,3;//same


CP
Go to Top of Page

Sprenger

Germany
15 Posts

Posted - 01/06/2021 :  08:01:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Dear CP,
this is terrific, many thanks!
Mayber I can ask another question related to this:
What would be the labtalk command to restrict the label of the median number to 3 digits?

Many thanks again,
Frank Sprenger
Go to Top of Page

Sprenger

Germany
15 Posts

Posted - 01/06/2021 :  09:24:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Found it myself:
set %c -qms *3
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