GithubHelp home page GithubHelp logo

colormap_matplotlib_matlab's Introduction

colormap_matplotlib_matlab

matplotlib colormaps for matlab

Just a small utility to export colormaps directly from matplotlib in python and use them in matlab.

cmapnames=colormap_matplotlib('list'); % retrieve list of available colormap names

cmap=colormap_matplotlib('magma'); %retrieve a specific colormap

%example:
figure;
imagesc(rand(10));
colormap(colormap_matplotlib('magma'));
colorbar(gca);

By default, the following colormaps are available available colormaps (Generated by example.m)

Additional complementary versions (hue rotated by 180°) end in "_comp" available colormaps

And additional "diverging" colormaps by combining original and "_comp_r", which end in "_compdiv" available colormaps

And reversed versions ending in "_r", "_comp_r", or "_compdiv_r"

This list was generated using Python 3.9.13 and matplotlib 3.5.2. If your matplotlib has additional colormaps you would like to include, you can regenerate this file with:

python save_matplotlib_colormaps.py matplotlib_colormaps.mat

colormap_matplotlib_matlab's People

Contributors

kjamison avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.