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 Line on Bar Graph
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

akiss@life1

USA
4 Posts

Posted - 11/20/2006 :  11:53:30 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

akiss@life1

USA
4 Posts

Posted - 11/20/2006 :  1:11:18 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 11/20/2006 :  1:26:54 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

akiss@life1

USA
4 Posts

Posted - 11/20/2006 :  3:23:48 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks SO much!

- Andor

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