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 for Programming
 LabTalk Forum
 line going out of the 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
shyamigcar2 Posted - 06/13/2020 : 10:32:34 AM
The x values of a graph ranges from 0 to 100 and Y value ranges from 200 to 800. I am trying to create a line in a vertical line in a graph at (20,200) to (20, 726).
draw -n 1h726 -l {20,200,20,726}; a line is created and everything is fine.

Now I resize the y value of graph from 400 to 600. The line goes out of the graph. I wanted the line to remain betwen 400 to 600. Is it possible.
1   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 06/15/2020 : 10:13:53 AM
Hi,

You can add a line of script after drawing the line.

1H726.ATTACH=1;

This will attach the line to the page, so that rescaling of y axis won't affect its display.

James

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