Home > FA-MVEMD > 2D > BIMF_subplot.m

# BIMF_subplot

## PURPOSE

## SYNOPSIS

function BIMF_subplot(signal1,signal2,imf,name1,name2)

## DESCRIPTION

## CROSS-REFERENCE INFORMATION

This function calls:

This function is called by:

## SOURCE CODE

    0001 function BIMF_subplot(signal1,signal2,imf,name1,name2)
    0002
    0003 figure
    0004 subplot(2,1,1)
    0005     %Masking wall data
    0006     imAlpha=ones(size(signal1));
    0007     imAlpha(isnan(signal1))=0;
    0008     imagesc(signal1,'AlphaData',imAlpha);
    0009     set(gca,'color',0*[1 1 1]);
    0010     xlabel('$x$')
    0011     ylabel('$y$')
    0012     axis equal;
    0013     axis tight;
    0014     title(sprintf('IMF %d %s ',imf,name1));
    0015     set(gca,'TickLabelInterpreter','latex')
    0016     colormap(parula);
    0017     hcb = colorbar;
    0018     colorTitleHandle = get(hcb,'Title');
    0019     titleString = '$\frac{u}{U_{\infty}}$';
    0020     set(colorTitleHandle ,'String',titleString,'Interpreter','latex','FontSize',14);
    0021     set(hcb,'TickLabelInterpreter','latex');
    0022
    0023 subplot(2,1,2)
    0024     %Masking wall data
    0025     imAlpha=ones(size(signal2));
    0026     imAlpha(isnan(signal2))=0;
    0027     imagesc(signal2,'AlphaData',imAlpha);
    0028     set(gca,'color',0*[1 1 1]);
    0029     xlabel('$x$')
    0030     ylabel('$y$')
    0031     axis equal;
    0032     axis tight;
    0033     title(sprintf('IMF %d %s ',imf,name2));
    0034     set(gca,'TickLabelInterpreter','latex')
    0035     colormap(parula);
    0036     hcb = colorbar;
    0037     colorTitleHandle = get(hcb,'Title');
    0038     titleString = '$\frac{v}{U_{\infty}}$';
    0039     set(colorTitleHandle ,'String',titleString,'Interpreter','latex','FontSize',14);
    0040     set(hcb,'TickLabelInterpreter','latex');
    0041
    0042 end
    0043