diff --git a/README.md b/README.md index ea6ba112..e5b21449 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,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, ms=12, m=[:+,:d,:s]) +scatter(iris, :SepalLength, :SepalWidth, group=:Species, m=([:+ :d :s], 12)) # 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 4db4c08b..9d730168 100644 --- a/docs/readme_template.md +++ b/docs/readme_template.md @@ -64,7 +64,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, ms=12, m=[:+,:d,:s]) +scatter(iris, :SepalLength, :SepalWidth, group=:Species, m=([:+ :d :s], 12)) # 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 022a5aee..be74feb7 100644 Binary files a/img/gadfly1.png and b/img/gadfly1.png differ