04-07-2016 03:55 PM
i used macro here in order to customize the size of the fonts of the graph.
However, I cannot get the legend of the proc lifetest plot to be larger. I need it for a poster and to be at least 25 pts. Is there anyone that can help.
04-07-2016 05:09 PM
I'm not familiar with the Graph Template Language, but looking at the macro code I think the DISCRETELEGEND statements are the places where to specify font sizes (and other text attributes) for the corresponding legends.
According to the documentation you can specify text attributes for the legend title and legend values separately. The respective options are named TITLEATTRS= and VALUEATTRS= and they go after the slash in the DISCRETELEGEND statement, where you see already other options such as LOCATION=. Their values can take different forms. One example is:
(and similarly for TITLEATTRS). Please see the documentation for more details.
04-07-2016 06:30 PM
Hi thank you so much that worked perfectly? Another quick question. Is there a way of thinkening the lines in the legend and on the graph?
Sorry to bug you.
04-07-2016 08:10 PM
I guess that the line thickness should ideally be specified in some style definition (which I'm not familiar with). But, according to the documentation of the STEPPLOT statement, it should also be possible to specify something like
in the options of that statement (again, after the slash), which occurs in the SingleStratum and MultipleStrata macros.
The above will probably not affect the line thickness in the legend. For this, you could try the option
which needs to be added to the DISCRETELEGEND statement. If this doesn't have the desired effect, I would look into the LEGENDITEM statement.