BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Tompa
Calcite | Level 5

Hello

I've used JSL to change some axis settings of a column sucessfully. Though for one of the settings, "Ref Lines" I can't find a solution.

This works for me:

dt << New Column("Values_ln",

  Formula(:Values),

  Set Property("axis", {min(0.1), Max(150), Inc(1), Minor Ticks(1), Show Major Grid(1), Show Minor Grid(1), Inside Ticks(0), Scale(Log)}

  );

  );

But i also want the Ref Lines Setting to be 0.3 and I cant find that setting i.e. nothing happens when i do this:

Set Property("axis", {min(0.1), Max(150), Inc(1), Minor Ticks(1), Show Major Grid(1), Show Minor Grid(1), Inside Ticks(0), Scale(Log), Ref Lines(0.3)}


There is an attached image of the box i want to fill.


Thanks


Ref Lines.jpg
1 ACCEPTED SOLUTION

Accepted Solutions
JeffPerkinson_JMP
SAS Employee

Hi ,

Try Add Ref Line() like this:

Set Property("axis", {min(0.1), Max(150), Inc(1), Minor Ticks(1), Show Major Grid(1), Show Minor Grid(1), Inside Ticks(0), Scale(Log),

Add Ref Line(0.3)}

I figured it out by adding the property by hand using the dialog you pictured, then I right-clicked at the top of the column and chose Copy Column Properties. That puts a script on the clipboard which I then pasted into a script editor.

I hope that helps.

BTW: There's a whole Community just for JMP users at community.jmp.com. You'll find that's a better place to post questions like this. I hope I'll see you there soon.

-Jeff

View solution in original post

1 REPLY 1
JeffPerkinson_JMP
SAS Employee

Hi ,

Try Add Ref Line() like this:

Set Property("axis", {min(0.1), Max(150), Inc(1), Minor Ticks(1), Show Major Grid(1), Show Minor Grid(1), Inside Ticks(0), Scale(Log),

Add Ref Line(0.3)}

I figured it out by adding the property by hand using the dialog you pictured, then I right-clicked at the top of the column and chose Copy Column Properties. That puts a script on the clipboard which I then pasted into a script editor.

I hope that helps.

BTW: There's a whole Community just for JMP users at community.jmp.com. You'll find that's a better place to post questions like this. I hope I'll see you there soon.

-Jeff

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2874 views
  • 0 likes
  • 2 in conversation