/[MITgcm]/MITgcm_contrib/gael/matlab_class/gcmfaces_misc/write2tex.m
ViewVC logotype

Diff of /MITgcm_contrib/gael/matlab_class/gcmfaces_misc/write2tex.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.11 by gforget, Wed Sep 17 21:39:26 2014 UTC revision 1.12 by gforget, Tue Dec 2 18:48:24 2014 UTC
# Line 110  if myStep==2; Line 110  if myStep==2;
110      figure(myFig);      figure(myFig);
111      drawnow;      drawnow;
112      myFigNumTex=myFigNumTex+1;      myFigNumTex=myFigNumTex+1;
113      [dirTex,fileTex,EXT] = fileparts(myFile)      [dirTex,fileTex,EXT] = fileparts(myFile);
114      %print the very figure      %print the very figure
115      if strcmp(frmt,'eps');      if strcmp(frmt,'eps');
116        print(myFig,'-depsc',[dirTex fileTex '_fig' num2str(myFigNumTex) '.eps']);        print(myFig,'-depsc',[dirTex fileTex '_fig' num2str(myFigNumTex) '.eps']);
# Line 151  eval(['save ' myFile(1:end-4) '.mat myFi Line 151  eval(['save ' myFile(1:end-4) '.mat myFi
151  %compile  %compile
152  if myStep==5;  if myStep==5;
153      dirOrig=pwd;      dirOrig=pwd;
154      [PATHSTR,fileTex,EXT] = fileparts(myFile)      [PATHSTR,fileTex,EXT] = fileparts(myFile);
155      cd(PATHSTR);      cd(PATHSTR);
156      system(['latex ' fileTex]);      system(['latex ' fileTex]);
157      system(['latex ' fileTex]);      system(['latex ' fileTex]);

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.22