Hi there!
Thanks for your reply. The challenge is italicizing theta without italicizing "P(" and ")". Apparently it cannot be done.
I received a reply from tech support, pasted below:
---------------------------------------------------------------------------------------------------------------------------
Garnett,
There is not an option to italicize only a portion of an axis label. The text style applies to the entire label.
You can use a DRAWTEXT statement to place the text on the graph to simulate the label.
Below is a simple sample that will suppress the default Y axis label and use the DRAWTEXT statement to place text to the left of the graph. The PAD= option on the BEGINGRAPH statement adds space to the left of the graph where we want the text to be placed. You might need to adjust the PAD= value, depending on how the text looks on your graph.
proc template;
define statgraph plot;
begingraph / pad=( left=5%);
layout overlay / yaxisopts=(display=(ticks tickvalues line));
scatterplot x=age y=height;
drawtext textattrs=(style=normal) "P" textattrs=(style=italic) "(*ESC*){unicode theta}" / xspace=graphpercent yspace=wallpercent x=2 y=50
rotate=90 anchor=center width=50;
endlayout;
endgraph;
end;
run;
proc sgrender data=sashelp.class template=plot;
run;
... View more