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
 LabTalk Forum
 Axis title disappears after merging graphs

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
ob28130 Posted - 10/01/2025 : 06:51:50 AM
OriginPro 2018 (64-bit) SR1 - b9.5.1.195
Operating system: Windows 11

Hello everyone, I'm trying to automatize some Boxplot plotting and merging. Everything goes fine until the merging happens. When the four plots are merged into four different layers in the merged window, the title of the Y axis for some layers (usually the first) does not show up. It then inexplicably shows up after some update on the plot details but on a different position than the default (x,y) = (0,0) which is right on the left of the respective Y axis. In particular it shows up at (x,y) = (0,127). "127" makes me think to some weird programming fault since it's equal to 2^7-1. The following is the code I'm using:

string dataSheet$ = %H;
wks.col1.categorical.type=2;
wks.col1.categorical.sort=1;
plot_gboxindexed irng:=col(F) group:=col(A) rd:=[<input>]<new name:="Voc"> theme:="MyBoxPlot3" -r 1;
page.longname$="Voc";
win -a %(dataSheet$);
page.active=1;
plot_gboxindexed irng:=col(G) group:=col(A) rd:=[<input>]<new name:="Jsc"> theme:="MyBoxPlot3" -r 1;
page.longname$="Jsc";
win -a %(dataSheet$);
page.active=1;
plot_gboxindexed irng:=col(H) group:=col(A) rd:=[<input>]<new name:="FF"> theme:="MyBoxPlot3" -r 1;
page.longname$="FF";
win -a %(dataSheet$);
page.active=1;
plot_gboxindexed irng:=col(I) group:=col(A) rd:=[<input>]<new name:="PCE"> theme:="MyBoxPlot3" -r 1;
page.longname$="PCE";
merge_graph option:=open row:=2 col:=2 aspectratio:=1 xgap:=7 ygap:=7 leftmg:=7 rightmg:=7 topmg:=7 bottommg:=7 width:=11.41 height:=7.973 unit:=inch;
page.longname$="Merged";

This happens not only when the theme is set to be the custom "MyBoxPlo3" but also with the system one "Boxplot Data in Line" or something similar. Moreover this doesn't seem to happen when i perform the merging operation using the Graph toolbar instead of LabTalk

1   L A T E S T    R E P L I E S    (Newest First)
ChaoC Posted - 10/01/2025 : 11:19:27 AM
Hi,

This issue was fixed in Origin 2019.

Best,
Chao

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