Plots and figures
Plots: colours and labels
Scores, DModX, T², observed / predicted: the "Colour" list colours the points by class (PLS-DA), by dendrogram group, or by any variable of the project (a gradient for a numeric variable). The "Labels" list writes next to each point its name, a secondary identifier or the value of a variable.
Right-click on a plot after a selection: "Make a class from the selection…" puts these observations in a class of a qualitative variable (new or existing), to colour by or to use as the classes of a PLS-DA.
Edit › Same selection in all the project's models (ticked by default): observations chosen in one model are chosen in the project's other models too.
Highlighted variables: a click on a variable (a bar of the VIP, the coefficients or the loadings, a point of the loadings, the biplot or the S-plot, a line of a profile, a row of the variable list) highlights it in red on all the model's plots; a box picks several in the scatter plots of variables. Esc clears the selection and the highlighted variables.
Other plots
Biplot: scores and loadings in one plot, scaled as correlations (t(corr) and p(corr), or pc(corr) with the Y of a PLS), all inside the circle of radius 1. 3D scores: three components, turned with the mouse; a click picks a point.
S-plot (OPLS): p[1] against p(corr)[1]; the variables at both ends are those that carry the link with Y (or that separate the two classes).
Formatting plots (for a paper, a report)
Right-click on a plot › Format plot, or Edit › Format plot: this plot's title and axis titles; for every plot: font, text size, point size, colours (including a palette readable by colour-blind people, and greys), grid, legend; and "Export image" at the size wanted (in pixels, resolution ×1 to ×6) as PNG, SVG or JPEG. These settings are kept from one session to the next.
Contributions
Plots › Contributions, or right-click on a selection: for an observation (or the mean of several), each variable's share in its distance from the model's average observation. To choose: contribution to DModX (why the observation is poorly modelled), to the score of a component, or to T² (why it is far from the centre); weighted or not by the modelling power.
Figures for publication
Plots › Compose a figure… (or right-click a plot › Add to a figure, or right-click the project in the explorer): plots side by side in one figure, at the size a journal prints it, for a paper.
- Panels: the plots open in the window, of any model or of the project (scores, loadings, effects, the map, series...): "Add an open plot..." lists them, the plot in front is the first. Each gets its letter in the order of the list (the arrows change it): A, B, C, or a, b, c, (A), (a), bold or not, in the corner chosen. A panel takes one cell of the grid, or two columns, or two rows; the grid (rows × columns: 1 × 2, 2 × 2, 1 × 3...) grows when a panel added doesn't fit, and a panel that has no room is shown in red.
- Size: the journal's width in millimetres: one column (85 or 90 mm), one and a half (114 or 140 mm), two columns (174 or 190 mm), or another; the height given, or from the panels (the shape of the plots on screen).
- Text and lines: the text size in points once printed (tick labels, axis titles, legends: 6 to 8 pt for most journals; the labels by the points and the notes in proportion), the width of the curves' lines in points (axes and grid half of it), the plots' titles (hidden by default: the letter and the caption are enough) and legends.
- Export: PDF (vector, fonts embedded, the page exactly the figure's size), SVG (vector, sized in millimetres), or PNG and TIFF at 300 or 600 dpi (dots per inch), that resolution written in the file (PNG's pHYs, TIFF's resolution tags) for journals' checks; the TIFF compressed by LZW, losslessly, or not compressed. In a browser, the PDF goes through its print window (choose "Save as PDF", no margins).
- Maps on a background (OpenStreetMap, IGN): in the file, the points, legend and colour scale are vectors over a picture of the map's tiles at the export's resolution (300 dpi in a PDF or SVG), fetched again for it from a closer zoom level than the preview's: more detail, smaller place names. Each map asks its tile server for at most 200 tiles, from at most two zoom levels above the screen's and none beyond level 19; the status bar says when that leaves the background less sharp than asked. The attribution (© OpenStreetMap contributors, © IGN) stays in a corner of the map.
Each plot is drawn as in its view when it was added (axes, colours, labels, the titles of Format plot, zoom), in the light theme, without the selection, on white; the refresh button of a panel takes its open view's settings again. The figure is kept in the project and saved with it (in the explorer, under Figures: open, export, rename, duplicate, delete); it always uses the latest fit of each model (a model not computed is computed when the figure is drawn): after refitting, export it again. Edit › Undo leaves figures alone.
This page is part of the guide installed with Nuée (USER-GUIDE.txt, also in Help › User guide).