Giter VIP home page Giter VIP logo

Comments (9)

tbreloff avatar tbreloff commented on June 7, 2024 1

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))

tmp

@pkofod do these inspire you to make any new themes?

from plotutils.jl.

kthyng avatar kthyng commented on June 7, 2024

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.

tbreloff avatar tbreloff commented on June 7, 2024

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.

from plotutils.jl.

kthyng avatar kthyng commented on June 7, 2024

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.

tbreloff avatar tbreloff commented on June 7, 2024

88fd15a

from plotutils.jl.

tbreloff avatar tbreloff commented on June 7, 2024

Also... isn't it about time you ditch python and switch to julia? ;)

from plotutils.jl.

cormullion avatar cormullion commented on June 7, 2024

@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))

screen shot 2016-10-15 at 14 27 50

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.

tbreloff avatar tbreloff commented on June 7, 2024

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.png

The 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.

kthyng avatar kthyng commented on June 7, 2024

Cool! And I've heard only good things about Julia, indeed.

from plotutils.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.