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
 Origin Forum
 pfit2l gives odd results while working from LT
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 05/18/2022 :  12:47:52 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Shirley_GZ

China
Posts

Posted - 05/19/2022 :  03:33:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/19/2022 :  05:36:10 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 06/07/2022 :  02:57:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Can you share an update on the topic, please?

---
Andrey
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