Multiple Plots

This is an example to create multiple plot with PlotAll.

 

 

Under ‘Load Data’, select ‘gold’ in ‘load data from app’. Check ‘Subset Row’, select rows from 1 to 500. Click ‘Submit Change’.

Under ‘Plot Variables’, select ‘Date’ in ‘x variable’ dropdown. Check ‘date’ box to identify column ‘Date’ as class date. Select ‘date format’ as ‘month/date/year’ the date sequence in the data. Select ‘Price’ in ‘y variable’ dropdown. Under ‘Variable Points’, choose ‘commodity’ in ‘color variable’. In ‘color each category’, select ‘gold’, ‘red’ and ‘purple’ from multiple selection dropdown.

Check ‘Create Subplots’ under ‘Design Points’. Under ‘1st Subplot Variable’, choose ‘commodity’. This will divide the plots by categories in ‘commodity’ column. In this case, ‘commodity’ column contains three categories – ‘Gold’, ‘Platinum’ and ‘Silver’. Click ‘Submit Change’. Since the Y-Axis is same for all three plots, change in ‘Silver’ price are not visible. To make all scales independent, check ‘Free Y-Axis’.

Align all three plots side-by-side by selecting ‘3’ under ‘image column’. Think of this as two dimensional array of images. If ‘1’ is selected under ‘image column’, all three images will stack top to bottom by creating one image column in the array of images. Under ‘Design Overlay’, check ‘Add Trend’ to add trend lines. Choose ‘Local Polynomial Regression Fitting’ under ‘smoothing methods’. Select ‘line size’ as ‘1’ and check ‘Standard Error’ to show standard error of the fit. Following is a screenshot of the inputs.

 

 

At the bottom, check ‘Area’, select ‘honeydew’ under ‘color background’ and ‘gold’ under ‘color border’. Check ‘Titles’ to add titles and caption to the plot. Inputs will look like this.

 

 

Now try it yourself, use PlotAll to create multiple plots.

 

Vido tutorial: Create subplot