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!
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
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.