From the documentation on Axis ranges:
When plots are associated with both the X and X2 axes or with both the Y and Y2 axes, neither axis can be broken.
Since you have an Xaxis and X2axis then you can't break either.
Either move the label to Xaxis, or remove the xaxis and break the X2axis. Or use another method than X2axis to show that label text as a fake title. Perhaps actually use a Title statement?
Please paste code and log entries into a code box opened with the forum's {I} or running man icon to preserve simple text format.
When I copy your code as shown and paste into my SAS editor every line has a period on it which does not appear visibly in the forum
From the documentation on Axis ranges:
When plots are associated with both the X and X2 axes or with both the Y and Y2 axes, neither axis can be broken.
Since you have an Xaxis and X2axis then you can't break either.
Either move the label to Xaxis, or remove the xaxis and break the X2axis. Or use another method than X2axis to show that label text as a fake title. Perhaps actually use a Title statement?
Please paste code and log entries into a code box opened with the forum's {I} or running man icon to preserve simple text format.
When I copy your code as shown and paste into my SAS editor every line has a period on it which does not appear visibly in the forum
Thanks @ballardw. I removed x2 axis and it worked like charm!
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.