Thread Subject: Plot figure

Subject: Plot figure

From: Henrique Amaral

Date: 16 Aug, 2007 18:43:05

Message: 1 of 1

What´s wrong in this code? Why doesn´t it plot, only
create the figures?
Note: the cells are full.

for i=1:n
    figure;
    for j=1:c

        %Plota TF
        p=2*j-1;
        subplot(c,2,p); % subplots cx2
        imagesc(timeVec, freqVec, TFCELL{1,i}(:,:,j));
        title(['Channel - ' canalcell{1,j}])
        axis xy
        colormap(hot);
        
        %Plota BW
        subplot(c,2,p+1);
        imagesc(timeVec, freqVec, BWCELL{1,i}(:,:,j));
        title(['Channel - ' canalcell{1,j}])
        axis xy
        
    end
    nome_fig = [dir outputfile '-BIN-epl' num2str
(i) '.tif'];
    print(gcf,'-dtiff', nome_fig)
    close;
 end

Thanks...

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com