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 Line on Bar Graph
New Topic
Reply to Topic
Printer Friendly
Author
Topic
akiss@life1
USA
4 Posts
Posted - 11/20/2006 : 11:53:30 AM
Origin Version (Select Help-->About Origin): 6.0
Operating System: Windows (Ubuntu Linux)
Is there a simple way to draw a straight line (Reference Line) at a specificied +/- point on a Y-axis in a column bar graph?
Thanks
Mike Buess
USA
3037 Posts
Posted - 11/20/2006 : 12:14:47 PM
I don't know what you mean by +/- point but you can draw a line from point (xx1,yy1) to point (xx2,yy2) with this command...
draw -l {xx1,yy1,xx2,yy2};
Mike Buess
Origin WebRing
Member
akiss@life1
USA
4 Posts
Posted - 11/20/2006 : 1:11:18 PM
sorry, I meant above and below the (0,0) line. like the attached image Where do I put this code?
Edited by - akiss@life1 on 11/20/2006 1:18:49 PM
Mike Buess
USA
3037 Posts
Posted - 11/20/2006 : 1:26:54 PM
You can enter the commands in the script window. If you want the lines to run full scale from left to right use this...
draw -l -h 1.0; // draw horizontal line at y=1.0
draw -l -h -1.0; // draw horizontal line at y=-1.0
If you'll need to do this several times you can assign those commands to the Custom Routine button as described
here
.
Mike Buess
Origin WebRing
Member
Edited by - Mike Buess on 11/20/2006 1:28:08 PM
akiss@life1
USA
4 Posts
Posted - 11/20/2006 : 3:23:48 PM
Thanks SO much!
- Andor
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Viewer Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000