Changeset 7933


Ignore:
Timestamp:
04/15/11 15:30:20 (14 years ago)
Author:
Mathieu Morlighem
Message:

Better plot ISMIP A

Location:
issm/trunk/test/IsmipHomResults/plotting_scripts
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/test/IsmipHomResults/plotting_scripts/plot_exp_a.m

    r7908 r7933  
    174174
    175175% The font to use for the axis labels
    176 axisLabelFont = 'normal';
     176axisLabelFont = 'Arial';  %ISSM->THIS LINE HAS BEEN CHANGED
    177177% The font size to use for the axis labels
    178178axisLabelSize = 7;
     
    252252    nfsFillColor = [0.422 0.688 0.367];
    253253
    254     % Plot full stokes
    255     [fh1, msg1] = jbfill(newX, fsMeanVel+fsStdVel, fsMeanVel-fsStdVel, ...
    256                        fsFillColor, fsFillColor, 1, 0.5);
     254    % Plot full stokes  %ISSM->THIS LINE HAS BEEN CHANGED
     255    %[fh1, msg1] = jbfill(newX, fsMeanVel+fsStdVel, fsMeanVel-fsStdVel, ... %ISSM->THIS LINE HAS BEEN CHANGED
     256    %                  fsFillColor, fsFillColor, 1, 0.5); %ISSM->THIS LINE HAS BEEN CHANGED
    257257   
    258258    % Plot non-full stokes
    259     [fh2, msg2] = jbfill(newX, nfsMeanVel+nfsStdVel, nfsMeanVel-nfsStdVel, ...
    260                        nfsFillColor, nfsFillColor, 1, 0.35);               
     259    %[fh2, msg2] = jbfill(newX, nfsMeanVel+nfsStdVel, nfsMeanVel-nfsStdVel, ... %ISSM->THIS LINE HAS BEEN CHANGED
     260    %                  nfsFillColor, nfsFillColor, 1, 0.35);                %ISSM->THIS LINE HAS BEEN CHANGED
     261         [fh1 fh2]=jbfill2(newX,fsMeanVel+fsStdVel,fsMeanVel-fsStdVel,nfsMeanVel+nfsStdVel,nfsMeanVel-nfsStdVel);
    261262           
    262263    % Turn the grid on
     
    291292    % These lines plot the mean
    292293    hold on;
    293     plot(newX, fsMeanVel, 'k');
    294     set(findobj(gca,'Type','line','Color',[0 0 0]),'Color',fsFillColor,'LineWidth',2);
    295     plot(newX, nfsMeanVel, 'b');
    296     set(findobj(gca,'Type','line','Color',[0 0 1]),'Color',nfsFillColor,'LineWidth',2);
    297    
    298 end
     294    %plot(newX, fsMeanVel, 'k');  %ISSM->THIS LINE HAS BEEN CHANGED
     295    %set(findobj(gca,'Type','line','Color',[0 0 0]),'Color',fsFillColor,'LineWidth',2); %ISSM->THIS LINE HAS BEEN CHANGED
     296    %plot(newX, nfsMeanVel, 'b'); %ISSM->THIS LINE HAS BEEN CHANGED
     297    %set(findobj(gca,'Type','line','Color',[0 0 1]),'Color',nfsFillColor,'LineWidth',2); %ISSM->THIS LINE HAS BEEN CHANGED
     298   
     299end
     300return %ISSM->THIS LINE HAS BEEN CHANGED
    299301
    300302% Add the legend to the final subplot (in upper left corner)
     
    304306        'portrait','papertype','A4','paperunits', 'centimeters', ...
    305307        'paperposition',[1 4 21 13]);
    306 return %ISSM->THIS LINE HAS BEEN CHANGED
    307308saveas(gcf, 'expa.eps', 'psc2');
    308309
Note: See TracChangeset for help on using the changeset viewer.