0

Using the code below I can get a discontinuous heatmap.

qplot(mpg, wt, data = mtcars, colour = cyl, xlab = "MPG", ylab = "WT") +
  scale_colour_gradient2(name = "Cylinders", midpoint = median(mtcars$cyl),
                         low = "red", mid = "green", high = "black")

enter image description here

I wish to intrapolate this data to plot a continuous heatmap. But at the same time using qplot for plotting if possible.

Community
  • 1
  • 1
Abhishek Bhatia
  • 9,404
  • 26
  • 87
  • 142

0 Answers0