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
 Export Graph Centered on Page

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
Asmetana1 Posted - 06/10/2020 : 2:39:08 PM
OriginPro 2020 9.7.0.188
Operating System: Windows 10
I want to be able to export a graph centered on a 7 x 9 inch page. The graph might be 3x5 inches or 6x4 or any size smaller than 7x9. There must me a simple way to do this, but I haven't found it.
Hopefully, someone can point me in the right direction.
Thanks.
4   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 11/02/2020 : 2:45:10 PM
Hi,

In Origin 2021, page level mini toolbar is added to center the graph within a page.


James
Asmetana1 Posted - 06/12/2020 : 10:10:06 AM
James,
Thanks for the help. I used your code and added the ability to scale the graph. My end user is very happy.
YimingChen Posted - 06/11/2020 : 10:31:11 AM
Hi,

You can also run the Labtalk Script in Script Window with your graph activated:


dpi = 600;
page.unit=1;
page.height=9*dpi;
page.width=7*dpi;

layer.unit=2;
layer.height=5;
layer.width=3;
layer.left = (page.width/dpi - layer.width)/2;
layer.top = (page.height/dpi - layer.height)/2;


James
YimingChen Posted - 06/10/2020 : 4:25:29 PM
Hi,

Maybe you can turn on Page Grid lines (menu View -> Show -> Page Grids or mini toolbar) to help you cetner the layer.


James

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