Contour Chart

Contour plots are graphs to show a three-dimensional surface on a two-dimensional plane. It graphs the X, Y variables on the plane axis and a response variable Z as contours. The format of the data can be specified as a three column x, y, z (long and skiny) data set or as rows and columns (short and fat) specifying the z value.



Color Themes


{
   "graphType" : "Heatmap",
   "heatmapCellBox" : "false",
   "showContourLevel" : "true",
   "showSampleNames" : "false",
   "showVariableNames" : "false",
   "subtitle" : "datasets - volcano",
   "title" : "Topographic Information on Auckland's Maunga Whau Volcano"
}
var cX = CanvasXpress.$("canvasId");
cX.createContour();
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/cX-volcano-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Heatmap",
  heatmapCellBox=FALSE,
  showContourLevel=TRUE,
  showSampleNames=FALSE,
  showVariableNames=FALSE,
  subtitle="datasets - volcano",
  title="Topographic Information on Auckland's Maunga Whau Volcano",
  afterRender=list(list("createContour"))
)