diff --git a/README.md b/README.md index 55722581..9bf7a63e 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ using RDatasets iris = dataset("datasets", "iris"); # This will bring up a browser window with the plot. Add a semicolon at the end to skip display. -scatter(iris, :SepalLength, :SepalWidth, group=:Species, m=([:+ :d :s], 12)) +scatter(iris, :SepalLength, :SepalWidth, group=:Species, m=([:+ :d :s], 12), smooth=0.99, bg=:black) # save a png (equivalent to png("gadfly1.png") and savefig("gadfly1.png")) png("gadfly1") diff --git a/docs/readme_template.md b/docs/readme_template.md index e0176029..9078e477 100644 --- a/docs/readme_template.md +++ b/docs/readme_template.md @@ -73,7 +73,7 @@ using RDatasets iris = dataset("datasets", "iris"); # This will bring up a browser window with the plot. Add a semicolon at the end to skip display. -scatter(iris, :SepalLength, :SepalWidth, group=:Species, m=([:+ :d :s], 12), smooth=0.98, bg=RGB(0.3,0.3,0.3)) +scatter(iris, :SepalLength, :SepalWidth, group=:Species, m=([:+ :d :s], 12), smooth=0.99, bg=:black) # save a png (equivalent to png("gadfly1.png") and savefig("gadfly1.png")) png("gadfly1") diff --git a/img/gadfly1.png b/img/gadfly1.png index 9cc26b42..a5cbe40a 100644 Binary files a/img/gadfly1.png and b/img/gadfly1.png differ