BookmarkSubscribeRSS Feed
hapa_Capricor
Calcite | Level 5

HI-

I'm slowly introducing myself into JSL coding.  I have a set of data that ranges from 0 to 10.  In some cases, the data goes over ten, but pretty rarely.  I'm trying to write the code to set the y axis in graph builder to the highest point in the data.  I can't set the max to ten, since if there's a data point that's at 15, it won't be shown.  Is there a way the script can recognize the highest amount in the set of data and then apply that to the axis?  Better yet, could it do five numbers above the highest point, that way the graph doesn't immediately cut it off at the point and makes it a bit more aesthetically pleasing?

Please let me know

Sorry if this has been asked before, first time posting.

Thanks

1 REPLY 1
ballardw
Super User

JMP has a separate site now. I think you'll get a better response at

Welcome | JMP User

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
  • 817 views
  • 0 likes
  • 2 in conversation