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
 Color of grid lines in labtalk
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

NoMe02551

Slovakia
8 Posts

Posted - 09/14/2011 :  08:55:04 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):8.5.0 SR1
Operating System: XP 32 SP3

Hi everybody,
I have problem with color of grid lines in labtalk.
this :

axis -ps X G 3;
axis -ps Y G 3;

its for draw both grid lines in graph but I dont know what I change color of this grid lines and change grid line type to e.g.dash.

Could someone help me please?

Thanks

Norbert

thomsen01

Austria
22 Posts

Posted - 09/15/2011 :  03:00:43 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I hope this is what you are looking for.


layer.x.grid.majorcolor = color(red);	
layer.x.grid.majortype = 1;	//1 = solid, 2 = dash, 3 = dot,...
layer.x.grid.minorcolor = color(blue);
layer.x.grid.minortype = 2;	


For Y-axis just replace x with y

Edited by - thomsen01 on 09/15/2011 03:01:55 AM
Go to Top of Page

NoMe02551

Slovakia
8 Posts

Posted - 09/16/2011 :  01:59:21 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Lot of Thanks Thomsen, its running :)
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