Comments (9)
These are really nice. Thanks for letting me contribute them on your behalf @kthyng!
using Plots; pyplot()
cmaps = [:algae,:amp,:balance,:curl,:deep,:delta,:dense,:gray,:haline,:ice,:matter,:oxy,:phase,:solar,:speed,:tempo,:thermal,:turbid]
z = (1:10)*(1:20)'
plot([heatmap(z,fc=cm,leg=false,title=cm,ticks=nothing) for cm=cmaps]..., size=(1000,1000))
@pkofod do these inspire you to make any new themes?
from plotutils.jl.
Strongly pro! I'm not familiar with Julia syntax though. Happy to
facilitate if someone knows and can do it more quickly.
On Thursday, October 13, 2016, Tom Breloff [email protected] wrote:
@kthyng https://github.com/kthyng: Nice colormaps... how would you feel
about contributing to the available colormaps for visualization in Julia?http://tos.org/oceanography/assets/docs/29-3_thyng.pdf
cc: @pkofod https://github.com/pkofod
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#2, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADU2BQB3s14cuRSvSUBK3rBBpfG7XPNfks5qzm_1gaJpZM4KWLU4
.
Kristen M. Thyng
Assistant Research Professor
Department of Oceanography
Texas A&M University
Eller O&M 607
http://kristenthyng.com
from plotutils.jl.
Excellent.
from plotutils.jl.
Cool — the rgb values are in text files here:
https://github.com/matplotlib/cmocean/tree/master/cmocean/rgb
On Thu, Oct 13, 2016 at 4:31 PM, Tom Breloff [email protected]
wrote:
Excellent.
🎉 It's up to you... if you were to give us a list of colors
for each map, it wouldn't be too hard for us to add it. I'd set you as the
author of the commit so that you get credit for it, and I'd link to your
paper at the top of the file. Let me know.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADU2BSfIVJVF_MHI5_fOsoZfn4QerE4wks5qzqM4gaJpZM4KWLU4
.
Kristen M. Thyng
Assistant Research Professor
Department of Oceanography
Texas A&M University
Eller O&M 607
http://kristenthyng.com
from plotutils.jl.
from plotutils.jl.
Also... isn't it about time you ditch python and switch to julia? ;)
from plotutils.jl.
@tbreloff Nice work, Tom! I see there's no shortage of color fans using Julia!
using Plots
using ColorSchemes
pyplot()
z = (1:10)*(1:20)'
map(cs -> PlotUtils.register_gradient_colors(Symbol(cs), loadcolorscheme(cs)), list());
cschemes = keys(PlotUtils._gradients)
plot([heatmap(z,fc=cm,leg=false,title=cm,ticks=nothing, titlefont = font(8)) for cm=cschemes]..., size=(1000,1000))
The only interesting thing about ColorSchemes is that you can extract them from existing images. If there's anything useful there, help yourself! :)
Edit: Fixed the font size for the labels...
from plotutils.jl.
Very cool! It might be nice to have a few methods to easily load external
color packages without adding the dependecies
On Saturday, October 15, 2016, cormullion [email protected] wrote:
@tbreloff https://github.com/tbreloff Nice work, Tom! I see there's no
shortage of color fans using in Julia!using Plots
using ColorSchemes
pyplot()
z = (1:10)*(1:20)'
map(cs -> PlotUtils.register_gradient_colors(Symbol(cs), loadcolorscheme(cs)), list());
cschemes = keys(PlotUtils._gradients)
plot([heatmap(z,fc=cm,leg=false,title=cm,ticks=nothing) for cm=cschemes]..., size=(1000,1000))[image: screen shot 2016-10-15 at 13 39 22]
https://cloud.githubusercontent.com/assets/52289/19410165/e5711c1c-92dc-11e6-806e-db3913d7b371.pngThe only interesting thing about ColorSchemes is that you can extract them
from existing images. If there's anything useful there, help yourself! :)(PS: Sorry about the too-large labels...)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA492jQWQuctS56f7cF7JHFWn2a7m6mnks5q0Mo1gaJpZM4KWLU4
.
from plotutils.jl.
Cool! And I've heard only good things about Julia, indeed.
from plotutils.jl.
Related Issues (20)
- Plots.jl does not precompile when using PlotUtils 1.0.7, but works with 1.0.6 HOT 3
- TagBot trigger issue HOT 23
- zscale test failures HOT 2
- optimize_ticks not working right for small values HOT 1
- Spurious "no strict ticks" warning for log10 scales
- Problems with conversion of `Unsigned` to `RGB` HOT 5
- Undefined variable with `cvec` HOT 1
- zscale performance
- Issue on newer versions on optimize_ticks? HOT 9
- Reliable crash in Jupyter notebook on arm64, AS M1
- Setting `categorical` to `false` in the `cgrad` function returns a `CategoricalColorGradient` HOT 1
- Increase coverage
- `palette()` with n=1 fails
- Unnecessary warning for matplotlib.jl with :gray? HOT 2
- adapted_grid, why not use end points of interval HOT 27
- Precompiling PlotUtils fails - LoadError, premature end of input HOT 6
- Floating point error in optimize_ticks HOT 1
- Missing Project.toml HOT 1
- Generalize color palettes HOT 1
- Regression in Plots reference images. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plotutils.jl.