readme
This commit is contained in:
parent
894a4a5567
commit
29471a7aac
@ -64,7 +64,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, 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"))
|
# save a png (equivalent to png("gadfly1.png") and savefig("gadfly1.png"))
|
||||||
png("gadfly1")
|
png("gadfly1")
|
||||||
|
|||||||
@ -64,7 +64,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, 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"))
|
# 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: 56 KiB After Width: | Height: | Size: 77 KiB |
Loading…
x
Reference in New Issue
Block a user