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
 Orthogonal charts on Origins.

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
kentmey Posted - 05/14/2012 : 10:44:14 AM
Hi there,

I am currently plotting data on Originshttp://www.originlab.com/ftp/forum_and_kbase/Images/EIS.opj

How can I get autonomatically orthogonal scale, aka (for example)
The 0-20 length on the X axis of automatically the same length than the Y axis.

As far as I remember when I used Origin in the past, it was possible, but I can't find the settings right now. Any advice would be great.

Best regards,

Kentmey
6   L A T E S T    R E P L I E S    (Newest First)
kentmey Posted - 05/16/2012 : 05:05:47 AM
Whaooo :)

It does indeed.

Merci beaucoup,

Kentmey

at the beginning was origin
couturier Posted - 05/16/2012 : 04:52:56 AM
Hi Kentmey,

I've included Greg's code into a shortcut button, for easier re-use of this very convenient script.

This button is part of other shortcut buttons that you can download here. The one for orthonormal scale is the last one.

Hope it helps.
kentmey Posted - 05/14/2012 : 2:35:34 PM
Thanks both of you :)

kentmey

at the beginning was origin
greg Posted - 05/14/2012 : 1:17:09 PM
There has never been such a checkbox in Origin.

Incidently, the above works only if the X and Y scales have the same range. For the more general case, you would need:
// BEGIN SCRIPT
tempunit = layer.unit;
layer.unit = 2;
wlay = layer.width;
hlay = layer.height;
waxis = x2 - x1;
haxis = y2 - y1;
if(hlay/haxis < wlay/waxis)
{
layer.width = hlay * waxis/ haxis;
}
else
{
layer.height = wlay * haxis / waxis;
}
layer.unit = tempunit;
// END SCRIPT
kentmey Posted - 05/14/2012 : 12:16:55 PM
It does work, but I remember of an automatic way to do it (such as ticking "orthonormal mode" instead of normal for the axis).

at the beginning was origin
Hideo Fujii Posted - 05/14/2012 : 11:03:35 AM
Hi Kentmey,

If you want to let the X and Y axes have equal physical length, you can run the following two-line script:
layer.unit=2; //set the layer size in absolute in inch
layer.width=layer.height; //or reversed
Does this work as you wanted?

--Hideo Fujii
OriginLab

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