Data visualization with SAS programming

Size of Symbol in SAS/Graph Legend

Reply
New Contributor
Posts: 2

Size of Symbol in SAS/Graph Legend

The symbol in my SAS/Graph legend is tiny, almost invisible, though the text next to it is fine. How can I increase the size of the legend value without also increasing the size of the legend label?

My goptions are:

reset=all
device=gif
cback=white
ftext="Arial"
htext=11
gunit=pt
gsfname=SPlot

My symbol statement is:

symbol1 color=black value=circle height=5 interpol=none

My legend statement is:

across=3
down=3
position=bottom
label=('Group:') value=('Group 1')
shape=symbol(7,1)

The result is a very, very tiny black circle in the legend value, though the symbol on the graph is fine and the legend label is fine.

Thanks for any information you can provide.
Super User
Posts: 11,134

Re: Size of Symbol in SAS/Graph Legend

I suspect your issue comes from:

shape=symbol(7,1)

The second parameter in the SHAPE option is height. I would start by using the same height as width (7) to provide a square space for the symbol.
Ask a Question
Discussion stats
  • 1 reply
  • 518 views
  • 0 likes
  • 2 in conversation