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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 999 views
  • 0 likes
  • 2 in conversation