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 revision Previous revision
matlab [2022/12/13 09:44]
ethanminot
matlab [2023/08/09 15:32] (current)
ethanminot
Line 3: Line 3:
 These lines of code help make a better looking plot that can be exported for a notebook or a publication. These lines of code help make a better looking plot that can be exported for a notebook or a publication.
  
-  plot(x,​y2,'​LineWidth',​1.8); %make curve thicker than default+  plot(x,​y2,'​LineWidth',​1.5); %make curve thicker than default
   axis([3 35 0 34])   axis([3 35 0 34])
-  set(gca,'​linewidth',​1.7)  %make axis lines thicker than default+  set(gca,'​linewidth',​1.5)  %make axis lines thicker than default
   xlabel('​wavelength'​) ​   xlabel('​wavelength'​) ​
   ylabel('​intensity'​) ​   ylabel('​intensity'​) ​
-  set(gca,'​FontSize',​26) %make text bigger than default+  set(gca,'​FontSize',​20) %make text bigger than default
matlab.txt · Last modified: 2023/08/09 15:32 by ethanminot