User Tools

Site Tools


matlab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
matlab [2024/05/23 15:55] ethanminotmatlab [2024/05/23 15:58] (current) ethanminot
Line 11: Line 11:
   xlabel('wavelength, \lambda (nm)') %LaTeX notation for math symbols   xlabel('wavelength, \lambda (nm)') %LaTeX notation for math symbols
   ylabel('intensity (W/cm^2)') %LaTeX notation for superscript   ylabel('intensity (W/cm^2)') %LaTeX notation for superscript
-  set(gca,'FontSize',10) %make text bigger than default+  set(gca,'FontSize',10) %10 point font when used as 8.5 cm figure.
      
 Additional pointers about graphs on Matlab. Additional pointers about graphs on Matlab.
-  *If your data is very big or very small, multiple the data by a scaling factor and note this scaling factor into the units. For example, rather than plot 1e-8 amperes, multiply by 1 billion and plot as 10 nA.   +  *If your data is very big or very small, multiply the data by a scaling factor and note this scaling factor in the units. For example, rather than plot 1e-8 amperes, multiply by 1 billion and plot as 10 nA.   
-  *From the menus associated with the figure, go to "file > export setup > rendering", and set the resolution to 300 dpi ("apply to figure"). +  *From the menus associated with the figure, go to "file > export setup > rendering", and set the resolution to 300 dpi or 600 dpi ("apply to figure"). 
-  *From the menus associated with the figure, go to "file > save as", and save as a png file. png is much better than jpg for line graphics.+  *From the menus associated with the figure, go to "file > save as", and save as a png file. Choose png because it is much better than jpg for line graphics.
  
matlab.1716504941.txt.gz · Last modified: 2024/05/23 15:55 by ethanminot