Allows two variables on different scales to be plotted on one set of axes. The scales are added on the left and right sides of the graph with specified labels.
1 2 3 4 |
x1,y1,x2,y2 |
Data to be plotted |
xlim,ylim1,ylim2 |
Optional limits for the 3 axes. If not specified the default limits are used (see |
type1,type2 |
This should either be points (default) or connected. The latter joins up the points. |
col1,col2 |
Colours of each data type to be plotted |
xlab,ylab1,ylab2 |
Axis labels |
add |
Allows plotting to preconstructed set of axes. This may be of use if using |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.