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 set axes aspect ratio?

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
fr0zensphere Posted - 10/15/2018 : 6:19:31 PM
I have OriginPro 2016 (64-bit)
Operating System: Win10 Edu edition, 64-bit

The subject of my question is pretty self-explanatory. This should be an obvious function of the software, but I haven't figured out how to control the size and aspect ratio of the axes after like an hour of trying.

It gives an easy way to control the size and aspect ratio of the whole graph window (or whatever you call it), which includes the axis titles, but that's not what I need. I need to control the aspect ratio of the axes. How do I do that?
6   L A T E S T    R E P L I E S    (Newest First)
fr0zensphere Posted - 10/18/2018 : 11:25:24 PM
Never mind, I finally got it to do what I want! The key is to remember what size the layer was before checking that check box to link the axes scales, and then to type in some number close to what it was. Enabling the axis scale linking automatically resizes it to be very small for some reason, but you can roughly bring it back before hitting okay and closing the window.
fr0zensphere Posted - 10/18/2018 : 2:30:07 PM
quote:
Originally posted by yuki_wu

For example, the scale of X-axis is 20 while the scale of Y-axis is 10, so the scale ratio is 2; but if the length of Y-axis is twice as long as the length of X-axis as desired, the length ratio should be 0.5. Thus we could enter 0.25 into the text box to get what we want as below:




Thank you; this is becoming more clear! In my case my x-axis scale is 11, and my y-axis scale is 40. I determined that I want my axis aspect ratio to be 1.12. So I calculated that I need to have a X:Y ratio of 4.066 when I have that checkbox checked.

It's probably giving me the right aspect ratio now, but it created a new problem: the chart was rescaled so that it's very small in the window. Screenshot below:



Why did it do that?? That's ridiculous. More importantly, how do rescale it so that I get rid of all that useless border space?
yuki_wu Posted - 10/16/2018 : 01:32:50 AM
Hi,

The Link Axis Length to Scale with X:Y Ratio check box is used to set the length ratio of X and Y axes (the Width and Height of the layer frame) to maintain the aspect ratio of the actual X and Y scales.
https://www.originlab.com/doc/Origin-Help/PD-Dialog-SizeSpeed-Tab

For example, the scale of X-axis is 20 while the scale of Y-axis is 10, so the scale ratio is 2; but if the length of Y-axis is twice as long as the length of X-axis as desired, the length ratio should be 0.5. Thus we could enter 0.25 into the text box to get what we want as below:


However, there is a simple but rough way. You could select the absolute units for the layer size, such as inch, cm, mm and etc, then set the height is twice as long as the width.

Regards,
Yuki

OriginLab
Castiel Posted - 10/15/2018 : 11:26:31 PM
quote:
Originally posted by fr0zensphere

quote:


Open Plot Details dialog (F2) and go to the layer level, check the "Link Axis Length to Scale with X:Y Ratio" and assign a value to it (Origin 2018 I have and not sure if this latter option was available in Origin 2016) in Size/Speed tag. You don't control the size of axes directly but through the size of layer area (also in Size/Speed tag).



I tried that already, and it absolutely does not work. Using a ratio of 1 made my plot very tall and narrow. It sounds like it's meant to make the length of your axes match the scale of the units. Which is a very rare use scenario, and definitely not what I'm interested in now.



Can you change it to be larger than 1?

Setting it to 1 is a rare use scenario or not depends on the data. I always have it set to 1 when handling GIS data.


     #####
    #### _\_  ________
    ##=-[.].]| \      
    #(    _\ |  |------|
     #   __| |  ||||||||
      \  _/  |  ||||||||
   .--'--'-. |  | ____ |
  / __      `|__|[o__o]|
_(____nm_______ /____\____ 
fr0zensphere Posted - 10/15/2018 : 10:52:03 PM
quote:


Open Plot Details dialog (F2) and go to the layer level, check the "Link Axis Length to Scale with X:Y Ratio" and assign a value to it (Origin 2018 I have and not sure if this latter option was available in Origin 2016) in Size/Speed tag. You don't control the size of axes directly but through the size of layer area (also in Size/Speed tag).



I tried that already, and it absolutely does not work. Using a ratio of 1 made my plot very tall and narrow. It sounds like it's meant to make the length of your axes match the scale of the units. Which is a very rare use scenario, and definitely not what I'm interested in now.
Castiel Posted - 10/15/2018 : 9:17:08 PM
quote:
Originally posted by fr0zensphere

I have OriginPro 2016 (64-bit)
Operating System: Win10 Edu edition, 64-bit

The subject of my question is pretty self-explanatory. This should be an obvious function of the software, but I haven't figured out how to control the size and aspect ratio of the axes after like an hour of trying.

It gives an easy way to control the size and aspect ratio of the whole graph window (or whatever you call it), which includes the axis titles, but that's not what I need. I need to control the aspect ratio of the axes. How do I do that?




Open Plot Details dialog (F2) and go to the layer level, check the "Link Axis Length to Scale with X:Y Ratio" and assign a value to it (Origin 2018 I have and not sure if this latter option was available in Origin 2016) in Size/Speed tag. You don't control the size of axes directly but through the size of layer area (also in Size/Speed tag).




     #####
    #### _\_  ________
    ##=-[.].]| \      
    #(    _\ |  |------|
     #   __| |  ||||||||
      \  _/  |  ||||||||
   .--'--'-. |  | ____ |
  / __      `|__|[o__o]|
_(____nm_______ /____\____ 

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