Previous Up Next

4.5  le(g)end and title options

4.5.1   Adding titles to plots / repositioning titles

Plots may be titled individually by creating a file called splash.titles in the current directory, with the title on each line corresponding to the position of the plot on the page. Thus the title is the same between timesteps unless the steps are plotted together on the same physical page. Leave blank lines for plots without titles. For example, creating a file called splash.titles in the current directory, containing the text:

plot one
plot two
plot three

and positioning the title using the default options, will produce a plot with one of these titles on each panel.

4.5.2   Turning off/moving the time legend

The position of the time legend can be set interactively by positioning the mouse in the plot window and pressing 'G'. To set the position non-interactively and/or change additional settings such as the justification, use the ``time legend on/off/settings'' option in the le(g)end submenu.

4.5.3   Changing the text in the time legend

The text which appears the time legend (by default this is ``t='') can be changed via the ``time legend on/off/settings'' option in the le(g)end submenu.

To rescale the value of the time displayed in the time legend (default value is as read from the dump file), see §??.

4.5.4   Making the legend read ``z='' instead of ``t=''

See ??. An option to change the legend text is provided in the ``time legend on/off/settings'' option in the le(g)end submenu. The numeric value of the time legend is as read into the time array in the read_data routine. This value can be rescaled by setting a unit for time (see §??).

4.5.5   Plotting the time legend on the first row/column of panels / nth panel only

An option to plot the time legend on the first row or column of panels or on a single panel only appears in the in the le(g)end submenu.

4.5.6   Plotting a length scale on coordinate plots

An option to plot a length scale (i.e., |---| with a label below it indicating the length) on coordinate plots (i.e., plots where both $x-$ and $y-$axes refer to particle coordinates) is provided in the le(g)end submenu.

4.5.7   Annotating a plot with squares, rectangles, arrows, circles and text

Use the ``annotate plot'' option in the le(g)end submenu to annotate plots with a range of geometric objects (squares, rectangles, arrows, circles and text) with full control over attributes such as line width, line style, colour, angle and fill style.

Text annotation can also be added/deleted in interactive mode using ctrl-t (to add) and the backspace key (to delete). Text can also be added to plots by adding titles (§??) which can be different in different panels. Text labels added using shape annotation differ from titles by the fact that they must appear the same in each panel and are positioned according to the world co-ordinates of the plot (rather than relative to the viewport). Shape text can also be displayed at arbitrary angles.

An option to plot length scales (|---|) on coordinate plots is implemented separately via the ``plot scale on coordinate plots'' option in the le(g)end menu.

4.5.8   Adding your name to a plot/movie

Arbitrary text annotation can be added/removed in interactive mode using ctrl-t (to add) and the backspace key (to delete) or via the ``annotate plot'' option in the le(g)end menu.


SPLASH: A visualisation tool for SPH data ©2004–2014Daniel Price.
http://users.monash.edu.au/~dprice/splash/
Previous Up Next