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
 Forum for Origin C
 add grid lines
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

phdkrish19

Japan
12 Posts

Posted - 04/05/2023 :  06:44:16 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver.2022b and Service Release (Select Help-->About Origin):
Operating System:windows 11
Hi there,

I would like to add vertical and horizontal grid lines at x = 0 and y = 0; please let me know the OriginLab command for this.

YimingChen

1623 Posts

Posted - 04/05/2023 :  11:05:30 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can run Labtalk script:

layer.x.reflines.dataset$="0";
layer.x.refline1.lineshow=1;
layer.y.reflines.dataset$="0";
layer.y.refline1.lineshow=1;


James
Go to Top of Page

phdkrish19

Japan
12 Posts

Posted - 04/06/2023 :  12:16:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks a lot

quote:
Originally posted by YimingChen

You can run Labtalk script:

layer.x.reflines.dataset$="0";
layer.x.refline1.lineshow=1;
layer.y.reflines.dataset$="0";
layer.y.refline1.lineshow=1;


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