logo: Add the AUT logo to an image

logoR Documentation

Description

Add the AUT logo to an image using grImport

Usage

logo(...)
git(x,y,...)

Arguments

...

In function logo(), further arguments passed to grid.picture(), and in function git() passed to text()

x, y

In function git(), the coordinates of the position to put the github repo URL

Note

The logo file in the package is AUT-logo-block.ps.xml, created using PostScriptTrace(). The logo is plotted unless option AUTlogo is FALSE.

In most plotting functions in the package, the appearance of the logo is controlled by options("schwarzschild_logo") which is interpreted as the filename of an xml file in the inst/ directory. There are a few special values: default NULL means to include a fivefold symmetrical ornamental knot (“orn20.ps.xml”), and FALSE means to plot nothing. Passing AUT-logo-block.ps.xml plots the AUT logo.

Function git() uses text() to show the github repo URL.

The plotting functions documented here are designed to be used to plot PDF diagrams with pdf(..., height=9,width=9); changing this could adversely affect the appearance (for example, the logo might appear in a suboptimal place).

Author(s)

Robin K. S. Hankin

Examples

schwarzschild()
logo(x=0.5,y=0.5,width=0.5)  # a bit big...
git(1,1,col='red')


RobinHankin/schwarzschild documentation built on Nov. 13, 2024, 12:58 p.m.