Once you're familiar with the basics of iNZight, you can try out some of the more advanced features. Some of them have been documented on this page.
iNZight (> 3.0) has two display modes: the traditional all-in-one window, as well as a separate graphics window and a narrow control panel (like VIT). The two are shown here:
To switch between the two, go to File > Preferences, and check the box "Use dual-window display mode".
In many of the Colour specification windows, you can either select from the menu, or type in a value of your own. Colours can specified by the name of any colour known by R, or alternatively by using hexadecimal (HEX) codes.
To specify a HEX code, you enter a hash "#" followed by 6 digits (numbers 0-9 and/or letters A-F). The 6-digit HEX code is divided into three 2-digit codes that specify red, green, and blue, respectively. 00 corresponds to 0%, and FF corresponds to 100%. Some examples are:
You can also specify opacity when using HEX codes. This is done simply by adding two additional digits (forming an 8-digit code), where 00 = 0% opacity = completely invisible.
A new feature of iNZight is the ability to export plots as SVG and Interactive HTML pages. It's still a work-in-progress that was part of a student's summer project. Please play around with it and let us know what you like, what doesn't work so well, and any other feedback you have!
Let's load the
gapminder-2008 data from the FutureLearn module:
File > Example Data and select the Gapminder 2008 dataset:
Now plot some variables. Here we're using ChildrenPerWoman and Infantmortality, coloured by Region and sized by Populationtotal, but you can use whichever you prefer.
Now click the "Save" icon in the plot toolbar, or from the Plot menu.
Once you click save, you might be prompted to install additional packages. Click "Yes" and wait while that happens, then you can save again.
The HTML file will open in your browser.