Data visualization with SAS programming

SGPLOT and axis parameters

Reply
Occasional Contributor
Posts: 5

SGPLOT and axis parameters

Hello!

I have long tick labels and I want to split it in two rows.

SGPlot95.png

I use split-symbol "~", but I don't know where I need to choose split option. How to solve this problem?

and how to display missing values (like the second tick between "Prior~to chemo" and "1~chemo", right now I fill it with a dot)?

SAS Super FREQ
Posts: 889

Re: SGPLOT and axis parameters

What version of SAS are you using?

SAS Super FREQ
Posts: 889

Re: SGPLOT and axis parameters

The reason I ask about your SAS version is that we added splitting support in SAS 9.4.

Occasional Contributor
Posts: 5

Re: SGPLOT and axis parameters

I use SAS 9.2 and how I understand I can't do this (split tick's names) in SGPLOT and I have to use later version of SAS or other function, that's right?

Grand Advisor
Posts: 10,210

Re: SGPLOT and axis parameters

Maybe not a pretty but Fitpolicy=Stagger on your XAXIS statement should get a useable chart.

Occasional Contributor
Posts: 5

Re: SGPLOT and axis parameters

Thanks for help, but unfortunately it's not that I want.

Ask a Question
Discussion stats
  • 5 replies
  • 475 views
  • 3 likes
  • 3 in conversation