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 for Programming
 LabTalk Forum
 line going out of the 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

MajorJohnny

2 Posts

Posted - 06/25/2020 :  04:49:30 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

Edited by - MajorJohnny on 07/01/2020 02:03:42 AM

YimingChen

1666 Posts

Posted - 06/25/2020 :  08:54:10 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Try:
Line.ATTACH=1;


This will attach the line to Page that changing axis scale won't affect the line. You can double click on the line, go to Programming tab to check the setting.

James
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