hi All,
this is my first question to you and hope to be clear to help you in answer...
so .. my problem is to break the bigger histogram to allow the other two (very little) to be shown better ...
i try to break it but unfortunately it remain the bigger!
in attachment you 'll find
1) data in input
2) graph before and after
i hope in your help to solve this topic
thank's in advance
Kregards
Pio
You can try breaking the y-axis. Use the RANGES option in the y-axis statement to provide the range of data you want to keep. If you are using SGPLOT procedure, then use something like:
yaxis ranges=(0-250000 1000000-1400000);
It is easier to help if you provide your code with some sample data.
Try changing your y-axis to a logarithmic scale TYPE=log LOGBASE=10, and adding something like BASELINE=1000 to your VBAR statement.
Hi PG,
what you suggest it's really whort for non stack graph as mine,because BASELINE is unsupported as VBAR statement in case of "STACK". Howevew i'll use it changing my graph.
Thank's a lot
Pio
A stacked VBAR with a Log scale might not be a good idea anyway. A broken axis doesn't look much better either. It is not clear what message you are trying to convey with your graph.
Another option might be to use SGPANEL with your group variable a PanelBy variable and allow the rowaxis to vary between rows (values of group variable). Of course some care should be make so readers are aware that the different bits of the graph have different scales ...
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.