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
 pfit2l gives odd results while working from LT

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
AKazak Posted - 05/18/2022 : 12:47:52 PM
OriginPro 2022b (64-bit) SR1 9.9.5.167
Windows 7 Pro SP1 x64

Greetings!

Please see a test project:
https://my.originlab.com/ftp/forum_and_kbase/Images/pfit2l%20Test.opju

pfit2l gives odd results while working from the following LT script:
[Format Graph Windows]

	type.redirection=32; // Redirect output to Output window

	doc -e LP
	{
			// Skip over any embedded graphs or Layout windows
			if(page.win==3 && page.IsEmbedded==0 && exist(%H)!=11)
			{
					pfit2l margin:=tight;

			}
	}


Can you reproduce this?

Thank you.

---
Andrey
3   L A T E S T    R E P L I E S    (Newest First)
AKazak Posted - 06/07/2022 : 02:57:36 AM
Can you share an update on the topic, please?

---
Andrey
AKazak Posted - 05/19/2022 : 05:36:10 AM
quote:
Originally posted by Shirley_GZ

Hi Andrey,

The condition "page.win==3" is wrong as all the windows in your opj are hidden, not normal(as 0=hidden and 3=normal).

And, would you please explain more about the results you gotten, and show us what the problem is clearly?

Thanks,
Shirley
OriginLab

Originlab Technical Service Team



Dear Shirley,

Please show all the graphs in the projects before running the script.

I am getting odd results where page boundaries intersect with the plot:


---
Andrey
Shirley_GZ Posted - 05/19/2022 : 03:33:37 AM
Hi Andrey,

The condition "page.win==3" is wrong as all the windows in your opj are hidden, not normal(as 0=hidden and 3=normal).

And, would you please explain more about the results you gotten, and show us what the problem is clearly?

Thanks,
Shirley
OriginLab

Originlab Technical Service Team

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