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
 Reference lines to draw a filled region
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 05/16/2022 :  06:36:30 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2022b (64-bit) SR1 9.9.5.167
Windows 10 Pro x64

Greetings!

I want to use reference lines to draw a filled region, say a rectangle or oval on a graph.
Is this currently possible?

Thank you.

---
Andrey

YimingChen

1592 Posts

Posted - 05/16/2022 :  08:55:43 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Can you use the Rectangle or Circle tool on the left hand side tool bar?

James
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/16/2022 :  12:24:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

Can you use the Rectangle or Circle tool on the left hand side tool bar?

James



Dear James, how can I tie Rectangle or Circle tools to the graph coordinates?

Thank you.

---
Andrey
Go to Top of Page

YimingChen

1592 Posts

Posted - 05/16/2022 :  2:07:39 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Double click on the rectangle to open the Object Properties dialog. Go to Dimensions tab, set the Units to Scale.

James
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/16/2022 :  9:21:50 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

Double click on the rectangle to open the Object Properties dialog. Go to Dimensions tab, set the Units to Scale.

James



Dear James,

It is a good option.
How do I set specific coordinate values to the rectangle corners?

---
Andrey
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 05/17/2022 :  07:22:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You specify the x1,y1 and x3,y3 property, like

rect.x1=x1;rect.y1=y1;rect.x3=x2/2;rect.y3=y2/2;


Where the x1,y2 etc on the right hand side are the layer scale range.

CP
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/17/2022 :  11:17:51 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by cpyang

You specify the x1,y1 and x3,y3 property, like

rect.x1=x1;rect.y1=y1;rect.x3=x2/2;rect.y3=y2/2;


Where the x1,y2 etc on the right hand side are the layer scale range.

CP




Got it!
Is there a way to set the corner-point coordinates via GUI?

---
Andrey
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 05/17/2022 :  2:14:55 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Yes, in Object Property, Dimensions, set Unit to Scale

CP
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