I was wondering if someone could give me a hint regarding how to avoid scientifc notation on the y-axis in semi-log plots (Y log | X linear)? The Y axis has a range from 10 000 - 1 000 000 wherase the data ranges from 20.000-500.000. SAS turns the range on the y axis into 1E5 - 1E6 which I would like to avoid. I am using GTL/sgrender and this is my standard logopts statement:
logopts=(base=10 tickintervalstyle=LOGEXPAND minorticks=TRUE THRESHOLDMAX=0.35 THRESHOLDMIN=0.35))
I have tried the following:
- in logopts: viewmax=/viewmin= | logopts seems to ignore that)
- applying a format (TICKVALUEFORMAT=yleft_fmtname) which does not work in logopts
Any ideas what to try more?
Thanks for your help!
I got SAS 9.3
The code you have shown, seems like it should work, i.e. because you are using base = 10 and tickintervalstyle = LOGEXPAND.
Can you provide your full program and the dataset so I can have a more detailed look. There may be another reason why it's not working as you expect.
When I am exectuing the attached sampleprogram, I have the following options:
1.) comment viewmax out -> y-axis ranges from 1E4-1E6 where I would rather like to have 10,000 - 1,000,000
2.) comment thresholdmin and thresholdmax out and use viewmax -> y-axis marks range form 10,000 - 100,000 where I would rather like to have either the above or 10,000 - 500,000
Thanks for your help.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.