Graphics and Plotting
- When I resized the window my plot disappeared
- Saving graphs: How do I save my graph from iNZight for use in another document?
- Copy/paste: How do I copy and paste my graph from iNZight into another document?
- I want a different type of plot
- Titles and axis labels: How do I change them?
- Barplots/charts
- Dotplots
- Playing over a set of plots is jerky or too fast/slow
- Interactive
- RStudio: plots are not displaying correctly
When I resized the window my plot disappeared
This is mainly an issue with dotplots. Click the Redraw Plot icon .
See Plot Toolbar for details.
Saving graphs: How do I save my graph from iNZight for use in another document?
Click on the Save Plot icon (or go Plot > Save Plot). There many formats available, e.g. pdf, png, etc.
See also saving as interactive HTML files
In Windows if you are using dual-window mode, or start up a new graphics window (see below), the graphics window itself offers additional saving and copy/paste options.
Copy/paste: How do I copy and paste my graph from iNZight into another document?
Copy and paste only works in Windows (otherwise you have either to use screen shots or save a graphics file as above).
If you are operating in dual-window mode, the separate R plotting window itself enables you to copy as a Bitmap or as a Metafile by right-clicking or using the File menu on the plotting window (Copy as Metafile does not work for dot plots).
But if you are in the default single window mode,
- you will have to open a new graphics window by clicking on the New Graphics Window icon
, or go Plot > New Graphics Window
- then click the Redraw icon
to get your plot into the new plotting window.
I want a different type of plot
Once you have selected your variables, iNZight instantly delivers a graph with the default plot-type for the combination of variable-types you have specified. In most cases there are many other appropriate choices for plot type. To see (and get) them, open Add to Plot and under Customise Plot Apearance (the default initial screen) use the Plot type selection box.
To look quickly at all possibile plots you can click into the box and roll the mouse wheel to scroll through the available plots.
Titles and axis labels: How do I change them?
In Add to Plot select Axes and labels.
Barplots/charts
Unwanted colour segmentation in a bar chart
You have a colour-by setting that is still active. Go to Remove Additions then check Remove colour-by and then click OK.
Plot didn’t change when I reordered categories and clicked "Reorder"
Reordering categories using Variables > Categorical Variables > Reorder levels does not create a new graph, it creates a new variable (e.g. myvarname.reord). To get the new (reordered) graph you have to drag/select the new variable.
Dotplots
When I resized the window my plot disappeared
See Plot Disappears.
I see columns of dots that look like they are suspended in mid-air
iNZight stacks points that are close together but not identical. This problem occurs when the points are discretely spaced but too big to drop down onto the axis. Either reduce the Point Size until they drop down, or widen the plotting window and click the Redraw icon .
How can I add labels to points in the plot?
Under Add to Plot select Identify points. Ensure the Text Labels box is checked and select a variable to provide the labels. There are several ways of choosing which points are to have labels attached.
Playing over a set of plots is jerky or too fast/slow
Windows users can expect jerky transitions between plots in single-window mode. Change to dual-window mode.
Play speed is controlled by the Set-timing-options button immediately to the left of the Play button.
Interactive
How can I get an interactive version of a plot?
Most iNZight plots involving a single graph on a page, have an interactive version available. Look for the following icons in the plot toolbar:
-
there is an interactive version available
-
there is no interactive version available.
Clicking on the blue icon results in an interactive plot popping up in your default browser. If that is a modern browser like Chrome, Firefox or Safari (but not Internet Explorer) this will then give you an interactive version of the graph that lets you query it in various ways like hovering over bars or clicking them. Explore!
The interactive plots can be saved using the browsers' capability for saving a page, but there is a better way, see below.
Saving your graph as Interactive HTML files
Click on Save Plot (or go Plot > Save Plot).
You will have to supply a name for the file and select File type Interactive HTML. Once saved, the file will also automatically open up in your default browser as above.
You can give such files to others. They can be included in other webpages. They do not need to be connected to iNZight to work.
By default variables used in making the plot are exported with the plot so they show up with hover-over etc.
The Save Plot dialog for Interactive HTML allows other variables to also be exported with the plot so that they too are available for interactivity.
The Save under the File menu is for saving data files, not for saving plots
RStudio: plots are not displaying correctly
Unfortunately there are some differences with RStudio's built-in graphics device, which means some of iNZight's graphs to not display correctly. If you are using R to access iNZight's functions (i.e., by calling iNZightPlot()) please use the default R application instead of RStudio, if possible, until we can resolve these issues.
Known issues include:
- dot plots do not display correctly
- interactive plots do not render correctly