We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d6ffd0 commit 7b014a8Copy full SHA for 7b014a8
visual_test/geom-polygon.r
@@ -0,0 +1,13 @@
1
+vcontext("geom-polygon")
2
+
3
+ggplot(faithful, aes(x = eruptions, y = waiting)) +
4
+ stat_density2d(aes(colour = ..level..), geom="path") +
5
+ xlim(0.5, 6) + ylim(40, 110)
6
+save_vtest("stat_density2d with paths")
7
8
9
+ stat_density2d(aes(fill = ..level..), geom="polygon", colour="white") +
10
11
+save_vtest("stat_density2d with filled polygons")
12
13
+end_vcontext()
0 commit comments