Generate a standard figure name igven and object and figure type
scfigs_fn(id, type, dir = NULL, ext = "png")
- is of the object the figure relates to (E.g. mat_id)
- a string defining the figure type
- output dir. If null, using figs base dir. Creates it if it doesn't exist.
- file extension (default: png)