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
 How to rescale x or y axis in multiple layers?

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
NaveedSaadi Posted - 11/24/2018 : 10:37:51 PM
Hello,
This is Naveed. I am using OriginPro2018 and I have created 8 line graphs for rainfall stations and merge them to one window. Now, I want to rescale the X-axis of all the layers in new merged window. How to do this in simple way. I am doing it by clicking on x-axis of each layer in the merged window and rescale and so on. It is very time taking process.
Please let me know, How I can do it shortly. Keep in mind that My x-axis is years and ranging from 1961-2015 for all layers.
For layer 1, I have done it, you can see in the atached figure. Rest of the layers need to be rescaled.

Naveed Ahmed
5   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 11/28/2018 : 10:20:19 AM
Hi Naveed,

After merge, you can select from menu Graph: Layer Management...In the dialog, activate Link tab, then select all the layers on the left except first one. On the right panel, set Link To to 1. Set X Axis Link to Straight(1 to 1). Click Apply. Click OK to close the dialog. Now the x scale of all layers will be changed according to first layer x scale. Thanks.

James
NaveedSaadi Posted - 11/27/2018 : 11:05:13 PM
Many thanks for your guidance. But, unfortunately,I am unable to do this. Please check attached picture.

Naveed Ahmed
malgoska Posted - 11/26/2018 : 08:28:34 AM
You need to paste and execute (press enter) this code into command window. You can either open it from Window Menu or by pressing Alt+3.
NaveedSaadi Posted - 11/26/2018 : 12:20:11 AM
I did not know, how to do this.
please further guide me.

Naveed Ahmed
malgoska Posted - 11/25/2018 : 06:29:44 AM
Hello, try the following

doc -e LP
{    if(page.IsEmbedded==0&&exist(%H)!=11)
    {
layer.x.from=1961;
layer.x.to=2015;
    }
}


Best regards

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