-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to apply_statistic to band. But receive LoadError: MethodError: no method matching isfinite(::Measures.Length{:h,Float64}) (I need to look into this further). There may be a case for adding an apply_aesthetics_transform in the method "cascade".
- Loading branch information
1 parent
a2648b1
commit d3a2aa8
Showing
3 changed files
with
107 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
using Gadfly, RDatasets | ||
set_default_plot_size(21cm, 8cm) | ||
p1 = plot(dataset("datasets", "iris"), x="SepalLength", y="SepalWidth", Geom.point, | ||
layer(xmin=[5.0, 7.0], xmax=[6.5, 8.0] , Geom.vband(color="green"))) | ||
# layer(xmin=[5.0, 7.0], xmax=[6.5, 8.0] , Geom.vband(), color="green")) | ||
layer(xmin=[5.0, 7.0], xmax=[6.5, 8.0] , Geom.vband())) | ||
p2 = plot(dataset("datasets", "iris"), x="SepalLength", y="SepalWidth", Geom.point, | ||
layer(ymin=[2.5, 3.6], ymax=[3.0, 4.0], Geom.hband(color="red"))) | ||
# layer(ymin=[2.5, 3.6], ymax=[3.0, 4.0], Geom.hband(), color="red")) | ||
layer(ymin=[2.5, 3.6], ymax=[3.0, 4.0], Geom.hband())) | ||
hstack(p1,p2) |