Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taehoonlee/tfigure

MATLAB figures like ggplot
https://github.com/taehoonlee/tfigure

Last synced: 30 days ago
JSON representation

MATLAB figures like ggplot

Awesome Lists containing this project

README

        

# tfigure
MATLAB figures like ggplot in R

Copyright (c) 2015 Taehoon Lee

# Functions
ggPalette: colormap of the ggplot in R.

tbar: simple variant of the built-in bar function.

tboxplot: simple variant of the built-in bar function.

tplot: simple variant of the built-in plot function.

# Examples
t = (0:0.1:3) * pi;

X = [0.6 * sin(t); 0.8 * sin(t+5)+0.1; sin(t+10)+0.2];

figure;

subplot(1,3,1), tplot(t, X);

subplot(1,3,2), tbar(sum(abs(X),2));

subplot(1,3,3), tboxplot(X');