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
 How to set axes aspect ratio?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

fr0zensphere

29 Posts

Posted - 10/15/2018 :  6:19:31 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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?

Edited by - fr0zensphere on 10/15/2018 6:20:37 PM

Castiel

343 Posts

Posted - 10/15/2018 :  9:17:08 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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_______ /____\____ 
Go to Top of Page

fr0zensphere

29 Posts

Posted - 10/15/2018 :  10:52:03 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
Go to Top of Page

Castiel

343 Posts

Posted - 10/15/2018 :  11:26:31 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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_______ /____\____ 
Go to Top of Page

yuki_wu

896 Posts

Posted - 10/16/2018 :  01:32:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Edited by - yuki_wu on 10/16/2018 01:33:03 AM
Go to Top of Page

fr0zensphere

29 Posts

Posted - 10/18/2018 :  2:30:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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?
Go to Top of Page

fr0zensphere

29 Posts

Posted - 10/18/2018 :  11:25:24 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
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