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
 All Forums
 Origin Forum
 Origin Forum
 Reference Line on Bar Graph

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
akiss@life1 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

4   L A T E S T    R E P L I E S    (Newest First)
akiss@life1 Posted - 11/20/2006 : 3:23:48 PM
Thanks SO much!

- Andor

Mike Buess 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 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 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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000