I have a plot of temperatures:
qplot( TS, TEMPERATURE, data=dataInput(), geom="bar", stat="identity", fill=TEMPERATURE) +
labs(x="Measurement date", y="Temperature (degrees C)") +
ggtitle("temperature")
However, what I would like to do is have the x axis intercept the y axis at 50 degrees C so that values below 50 degrees are drawn downwards. Ideally with a gradient fill scale so that high values are red and low values are blue.
How can I do this with ggplot?