How to auto-fix ranges in histogram using Proc Univariate, when you have more than one graph its ranges set automatically to same numbers. All i want that it fixes the ranges of graphs separetely, if i call where statement and call one graph no problem but i have lots of graphs i don't want to filter them one by one.
A brief short answer ins very much appreciated, my google searches drived me crazy.
Autofix range of what? The max/min value used to make the graph? The max/min value displayed on the graph? The "width" or number of records represented by each bar?
You will likely have better luck with Proc SGplot or SGPanel and that histogram plot than Proc Univariate. The graphs in Univariate are intended for data exploration and do not have all the options for controlling appearance.
You might get univariate to come closer to what you want by restructuring your data so that you have a single variable with values and make your current variable name another value to use on a BY statement. Maybe. Your data just may not allow univariate to behave as you want.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.