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 make the units in x and y axis equal?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

threev

Posts

Posted - 01/20/2009 :  9:35:20 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8. SR1 - v8.0773
Operating System: xp pro sp3

I encountered a problem when plotting circles or semi-circles. It looks weird that the radii in x and y axis are different since the default lengths of units in x and y axes are different. Is there any way to make the units equal? Its possible to do it manually but takes too much time especially when adjusting axis scaling dimensions to make graph look better?
It would be much more desirable to do it automatically so that ratio of x and y axis unit scaling remains 1 all the time?
Sometimes it's called "isotropic" graph

Thanks for your help!

couturier

France
291 Posts

Posted - 01/21/2009 :  08:29:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I had to make isotropic graph too. With the following script, you can make your graph isotropic:

// eventually, you can manually set y axes and x beginning range, by typing any number after "="
layer.y.to=;
layer.y.from=;
layer.x.from=;

// make graph isotropic
layer.unit=5;
layer.x.to=layer.width*(layer.y.to-layer.y.from)/layer.height+layer.x.from;
layer.unit=1;

You can play with this formula if you want to set another part of axes, given fixed others

Edited by - couturier on 01/21/2009 08:30:51 AM
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