-
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.
Add Scale.color_none to supress default color scales. Fixes #527
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: color_none | ||
author: Daniel C. Jones | ||
part: Scale | ||
order: 2009 | ||
... | ||
|
||
Supress a default color scale. Some statistics impose a default color scale. | ||
When no color scale is desider, explicitly including `Scale.color_none` will | ||
supress this default. | ||
|
||
# Examples | ||
|
||
```{.julia hide="true" results="none"} | ||
using Gadfly | ||
``` | ||
|
||
```julia | ||
xs = 1:10. | ||
ys = 1:10. | ||
zs = Float64[x^2*log(y) for x in xs, y in ys] | ||
plot(x=xs, y=ys, z=zs, Geom.contour, Scale.color_none) | ||
``` | ||
|
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