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
 x= question

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
celarson Posted - 03/03/2003 : 5:00:32 PM
This has got to be easy but I can't figure it out. I have a simple x,y plot and want a couple boundary lines included. I see how to plot a line, for example, at y=12 using the graph->add function graph dialog. Now how do I get origin to plot me a line at say, x=10?
6   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 08/26/2003 : 10:09:55 AM
Hi Jiang,

This will draw a line from (X0,0) to (X0,sin(X0))...

draw -l {X0,0,X0,sin(X0)};

Mike Buess
Origin WebRing Member
jlm Posted - 08/26/2003 : 08:18:37 AM
Does someone have ideas about how to draw a vertical line at x0 with specified height (such as sin(x0)).

Thanks in advance.

Jiang.


quote:

You can also use the draw command if you just want a vertical or horizontal marker...

draw -l -v x0; // draw a vertical line at X=x0
draw -l -h y0; // draw a horizontal line at Y=y0

Mike Buess
Origin WebRing Member

celarson Posted - 03/05/2003 : 01:15:03 AM
Thanks Mike,
That is a somewhat more elegant solution.
Also provides multiple line types, and arrowheads.

Appreciate the help - I wouldn't have figured that out.

-carl
Mike Buess Posted - 03/03/2003 : 6:43:22 PM
You can also use the draw command if you just want a vertical or horizontal marker...

draw -l -v x0; // draw a vertical line at X=x0
draw -l -h y0; // draw a horizontal line at Y=y0

Mike Buess
Origin WebRing Member
celarson Posted - 03/03/2003 : 6:37:18 PM
Hideo, yes that's it exactly.

This is how I have been doing it but was wondering if there was a built in "feature". I was hoping for a something a bit more elegant (like the graph function feature) but as long the +/- y values are suitably high then there is no reason this can't be the workaround.

Thanks for your timely solution.

-carl
Hideo Fujii Posted - 03/03/2003 : 6:24:40 PM
You can try the following:

1)Make two columns (in a new worksheet, say Data2, or in your existing worksheet) like:
  A(X)    B(Y)
10 -1000
10 1000

Here, the range of B(Y) should cover your Y-axis scale.

2)Activate your graph window, choose "Graph:Add Plot to Layer:Line" menu, and include above X column (Data2_a) by "<->X", and Y column (Data2_b) by "<->Y"

Hope this is what you wanted.



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