readme
This commit is contained in:
parent
540460cae9
commit
60edccade5
@ -73,7 +73,7 @@ using RDatasets
|
|||||||
iris = dataset("datasets", "iris");
|
iris = dataset("datasets", "iris");
|
||||||
|
|
||||||
# This will bring up a browser window with the plot. Add a semicolon at the end to skip display.
|
# 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"))
|
# save a png (equivalent to png("gadfly1.png") and savefig("gadfly1.png"))
|
||||||
png("gadfly1")
|
png("gadfly1")
|
||||||
|
|||||||
@ -73,7 +73,7 @@ using RDatasets
|
|||||||
iris = dataset("datasets", "iris");
|
iris = dataset("datasets", "iris");
|
||||||
|
|
||||||
# This will bring up a browser window with the plot. Add a semicolon at the end to skip display.
|
# 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"))
|
# save a png (equivalent to png("gadfly1.png") and savefig("gadfly1.png"))
|
||||||
png("gadfly1")
|
png("gadfly1")
|
||||||
|
|||||||
BIN
img/gadfly1.png
BIN
img/gadfly1.png
Binary file not shown.
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 86 KiB |
Loading…
x
Reference in New Issue
Block a user