plfont
toggle between primary and alternative font
parameter | type | units | description |
---|---|---|---|
-- | void | -- | -- |
returns: | void |
Description
plfont toggles between primary and alternative font. Toggling between fonts may also be performed by using the @-character in strings plotted with plformat, but there, after leaving the routine, the original font is restored. Thus plfont actually sets the default font for plformat.Examples
The following program plots axes using the alternative font (Symbol), then a text in the normal font by switching font within the text. Finally, a text in alternate font is plotted, showing that font switching within a text is onlyplinit PS plfont A4 50 50 "" "" plfont plaxes 0 0 100 100 100 30 xtext ytext "Example for plfont" plu 50 60 plformat 0 0 "@Example for plfont (string started with @@)" plu 50 30 plformat 0 0 "Example for plfont @(string without initial @@)" plframe 5 3