- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to use SAS/Graph line or stroke fonts in SGPLOT ? I ask because I eventually want to use a custom font created with PROC GFONT.
This sample suggests no 😞
ods html file='plot.html'; proc sgplot data=sashelp.class; title "Scatter!"; scatter x=age y=weight; run; proc sgplot data=sashelp.class; title f=Swiss "Scatter!"; scatter x=age y=weight; run; proc gplot data=sashelp.class; title f=Swiss "Scatter!"; plot weight * age; run; ods html close;
There is no PROC SGGFONT.
Might there be some trick to coerce SG* into using the old fonts (or a GFONT created font) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
This is a guess in part as I haven't found anything in the documentation. I think that the Font needs to be registered with the operating system and not just in SAS as the device SAS Graph fonts are.
One reason I think so is that the ODS graphics will work completely without SAS Graph installation (now).
I do note that the SAS fonts like SWISS are not available from the Windows OS point of view, not in the font selectors font settings window by default.
If you can install the font to the OS level I bet it will work. Not interested enough to try to pull SWISS to the system though.