Data visualization with SAS programming

show axis in each column in sgpanel

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 7
Accepted Solution

show axis in each column in sgpanel

I Create a sgpanel with 3 columns and 3 rows. how can I show x and y axis in each cell? 


Accepted Solutions
Solution
‎05-18-2017 05:48 PM
SAS Super FREQ
Posts: 1,141

Re: show axis in each column in sgpanel

Default behavior for SGPANEL is uniform axes.  So, space can be saved by putting only one axis per column and row reducing clutter.  Why do you want individual axes in each cell?  Please describe use case.

View solution in original post


All Replies
SAS Super FREQ
Posts: 925

Re: show axis in each column in sgpanel

You cannot at this time. All axes in SGPANEL are external and (typically) shared. There is a way to configure the panel such that all row or all column axes are independent of one another. It requires you to generate the panel with either one row (for independent column axes) or one column (for independent rows axes) and use the UNISCALE option on the PANELBY statement.

 

Hope this helps!

Dan

Solution
‎05-18-2017 05:48 PM
SAS Super FREQ
Posts: 1,141

Re: show axis in each column in sgpanel

Default behavior for SGPANEL is uniform axes.  So, space can be saved by putting only one axis per column and row reducing clutter.  Why do you want individual axes in each cell?  Please describe use case.

Occasional Contributor
Posts: 7

Re: show axis in each column in sgpanel

Just want to show clearly what x and y is for each cell if I have so many cells.


SAS Super FREQ
Posts: 1,141

Re: show axis in each column in sgpanel

If your data is uniform across the cells, that will add a lot of clutter.  Would it help to add gridlines on the row and column axes?

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 179 views
  • 0 likes
  • 3 in conversation