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 for Programming
 Forum for Origin C
 rescale ONLY y axis
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

florenciapw

Argentina
Posts

Posted - 01/20/2012 :  08:40:29 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 8.5.1 and Service Release (Select Help-->About Origin):
Operating System: Windows 7

Hello.
I'm trying to make Origin C rescale ONLY the Y axis of a graph. I have tried with the line

gl.Rescale(ANL_NO_EXPAND);

but it does not work. Any suggestions?
Thank you.
flo

cpyang

USA
1406 Posts

Posted - 01/23/2012 :  4:32:18 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I have updated the wiki sample to show how, see

http://ocwiki.originlab.com/index.php?title=OriginC:GraphLayer-Rescale#Parameters

Looks like this area was poorly documented.

CP
Go to Top of Page

florenciapw

Argentina
Posts

Posted - 01/24/2012 :  08:22:05 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you very much. It works perfectly.

The wiki says "You can use OKAXISTYPE_X, OKAXISTYPE_Y to prevent that axis direction to be changed, and there are many other bits that control other details." Where can I get information about the many other bits and how they control the rescaling?

Thanks again.

flo
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