Data visualization with SAS programming

Sgpanel Column Descriptions Vertically Rather than Diagonally?

Reply
Super Contributor
Posts: 480

Sgpanel Column Descriptions Vertically Rather than Diagonally?

Is there a way to display sgpanel column descriptions vertically rather than diagonally, the diagonal takes a lot of space?  I’m guessing this is part of the colaxis display.  I am using SAS 9.2.


sgpannelcolumn.png

Super User
Posts: 10,476

Re: Sgpanel Column Descriptions Vertically Rather than Diagonally?

9.2 doesn't have as many axis control options for SGpanel as later versions.
You might try setting specific values with the values= option on a Colaxis statement.

Or Fitpolicy=Stagger or StaggerThin to reduce the number of entries displayed and spaced differently.

I'm not sure, but it almost appears that your axis displays a range of values 0 to 1, 1 to 2, 2 to 3. If so, possibly a custom format that would display the midpoint value which might take less space.

Or use the ods graphics options to set more horizontal or vertical space.

I don't think there's any likely way to get vertical text with 9.2.

Super Contributor
Posts: 480

Re: Sgpanel Column Descriptions Vertically Rather than Diagonally?

I displayed my graphs using less axis points.  This is a non-ideal workaround.

Ask a Question
Discussion stats
  • 2 replies
  • 333 views
  • 0 likes
  • 2 in conversation