When you insert text in power point you swithc to subscript with control plus ans in the old power point ctrl plus again would make it normal now you have to hit space to go back to normal
ARGH!
Tuesday, June 5, 2007
Friday, June 1, 2007
how to get a blank matlab movie
I was using the following code to make the movie from the hdf files
and for some reason it didn't work this time after some soul searching I realised that the
matlab command FIGURE caused the whole problem. so I removed it from the code and VOILA!
filename = ['3dmovie5'];
%let's create the first avi file
aviobj = avifile(filename); %opens file called name
aviobj.Quality=100;%quality of mImages
aviobj.Compression='None'; %compression
aviobj.Fps=6;%frames per second
ImFirst=20;
ImLast=90;
for im=ImFirst:10:ImLast
im
hf = figure('visible','off');
cd('L:\osiris\monoenergetic\moresmoothe\parandallagain\MS\FLD\E1');
[marray1,z,r]=openhdf(['E1-0000',num2str(im),'.hdf']);
a=1;
b=70;
c=1;
d=160;
field=[marray1(a:b,c:d)];
FIGURE;mymeshc(z(c:d)*23.8,r(a:b)*23.8,field*21);
axis([0 200 0 100 -40 40])
set(gca,'View',[29 22]);
xlabel(' z (\mu m)');
ylabel('r (\mu m)');
zlabel( 'E (GV/m)');
set(gca,'XMinorGrid','on')
set(gca,'YMinorGrid','on')
set(gca,'ZMinorGrid','on')
and for some reason it didn't work this time after some soul searching I realised that the
matlab command FIGURE caused the whole problem. so I removed it from the code and VOILA!
filename = ['3dmovie5'];
%let's create the first avi file
aviobj = avifile(filename); %opens file called name
aviobj.Quality=100;%quality of mImages
aviobj.Compression='None'; %compression
aviobj.Fps=6;%frames per second
ImFirst=20;
ImLast=90;
for im=ImFirst:10:ImLast
im
hf = figure('visible','off');
cd('L:\osiris\monoenergetic\moresmoothe\parandallagain\MS\FLD\E1');
[marray1,z,r]=openhdf(['E1-0000',num2str(im),'.hdf']);
a=1;
b=70;
c=1;
d=160;
field=[marray1(a:b,c:d)];
FIGURE;mymeshc(z(c:d)*23.8,r(a:b)*23.8,field*21);
axis([0 200 0 100 -40 40])
set(gca,'View',[29 22]);
xlabel(' z (\mu m)');
ylabel('r (\mu m)');
zlabel( 'E (GV/m)');
set(gca,'XMinorGrid','on')
set(gca,'YMinorGrid','on')
set(gca,'ZMinorGrid','on')
labeling
Themos says label your posts to make the search easier
you see label on the lower right lower corner
you see label on the lower right lower corner
how to create a link for restart files in osiris
bash -c 'for i in rst-0010*; do ln -s $i `echo $i|sed
"s/rst-0010/rstrtdat/"` ; done'
change number 10 to the desired location of the restart file
author:erdem
"s/rst-0010/rstrtdat/"` ; done'
change number 10 to the desired location of the restart file
author:erdem
Subscribe to:
Posts (Atom)











