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
 draw tool: suggestion for improvement
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

carsten

Switzerland
78 Posts

Posted - 06/02/2008 :  12:56:50 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin):
Operating System:

Given the x-scale is of type date. If a rectangle is drawn on top of this graph the scale options allow to scale this rectangle wrt to x- and y-axis. However, only decimal input is valid. Therefore it would be helpful to include the input format: date

Carsten

greg

USA
1380 Posts

Posted - 06/10/2008 :  3:37:45 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can use script to position the center of a rectangle object:

rect.x = date(7/1/2008); // Center on July 1, 2008
rect.dx = 365; // Total width of 365 days
type $(RECT.X1,D0) to $(RECT.X2,D0);

Note that the accuracy of positioning objects is related to screen resolution so there is some error when working with large numbers like dates.

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