Skip to content

Quick transfer packages from Python matplotlib to MATLAB

Notifications You must be signed in to change notification settings

kunyiwang/Colormap_MATLAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This package is used for loading color maps from Python matplotlib package into matlab.

Environment setup

I recommend using Anaconda to setup the environment. Run the following commands:

conda create --name cmap python=3.11
conda activate cmap
pip install -r ./requirements.txt

Visualize the color maps in matplotlib

python visualization.py

Load color maps into logs

python export.py

Color maps will be store as .txt files in ./logs directory.

Use color maps in MATLAB

Put dataset in ./data directory as .mat file.

Follow the example code in load_cmap.m file to apply these color maps to your dataset.

About

Quick transfer packages from Python matplotlib to MATLAB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published