Generate a standard figure name igven and object and figure type

scfigs_fn(id, type, dir = NULL, ext = "png")

Arguments

id

- is of the object the figure relates to (E.g. mat_id)

type

- a string defining the figure type

dir

- output dir. If null, using figs base dir. Creates it if it doesn't exist.

ext

- file extension (default: png)