Changeset 1c4f063 for doc/theses/thierry_delisle_PhD
- Timestamp:
- Aug 5, 2022, 12:48:32 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- 511a9368
- Parents:
- 749cf69
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/thierry_delisle_PhD/thesis/thesis.tex
r749cf69 r1c4f063 280 280 % Appendices 281 281 282 % The \appendix statement indicates the beginning of the appendices.283 \appendix284 % Add an un-numbered title page before the appendices and a line in the Table of Contents285 \chapter*{APPENDICES}286 \addcontentsline{toc}{chapter}{APPENDICES}287 % Appendices are just more chapters, with different labeling (letters instead of numbers).288 % ======================================================================289 \chapter[PDF Plots From Matlab]{Matlab Code for Making a PDF Plot}290 \label{AppendixA}291 % Tip 4: Example of how to get a shorter chapter title for the Table of Contents292 % ======================================================================293 \section{Using the GUI}294 Properties of Matab plots can be adjusted from the plot window via a graphical interface. Under the Desktop menu in the Figure window, select the Property Editor. You may also want to check the Plot Browser and Figure Palette for more tools. To adjust properties of the axes, look under the Edit menu and select Axes Properties.295 296 To set the figure size and to save as PDF or other file formats, click the Export Setup button in the figure Property Editor.297 298 \section{From the Command Line}299 All figure properties can also be manipulated from the command line. Here's an example:300 \begin{verbatim}301 x=[0:0.1:pi];302 hold on % Plot multiple traces on one figure303 plot(x,sin(x))304 plot(x,cos(x),'--r')305 plot(x,tan(x),'.-g')306 title('Some Trig Functions Over 0 to \pi') % Note LaTeX markup!307 legend('{\it sin}(x)','{\it cos}(x)','{\it tan}(x)')308 hold off309 set(gca,'Ylim',[-3 3]) % Adjust Y limits of "current axes"310 set(gcf,'Units','inches') % Set figure size units of "current figure"311 set(gcf,'Position',[0,0,6,4]) % Set figure width (6 in.) and height (4 in.)312 cd n:\thesis\plots % Select where to save313 print -dpdf plot.pdf % Save as PDF314 \end{verbatim}282 % % The \appendix statement indicates the beginning of the appendices. 283 % \appendix 284 % % Add an un-numbered title page before the appendices and a line in the Table of Contents 285 % \chapter*{APPENDICES} 286 % \addcontentsline{toc}{chapter}{APPENDICES} 287 % % Appendices are just more chapters, with different labeling (letters instead of numbers). 288 % %====================================================================== 289 % \chapter[PDF Plots From Matlab]{Matlab Code for Making a PDF Plot} 290 % \label{AppendixA} 291 % % Tip 4: Example of how to get a shorter chapter title for the Table of Contents 292 % %====================================================================== 293 % \section{Using the GUI} 294 % Properties of Matab plots can be adjusted from the plot window via a graphical interface. Under the Desktop menu in the Figure window, select the Property Editor. You may also want to check the Plot Browser and Figure Palette for more tools. To adjust properties of the axes, look under the Edit menu and select Axes Properties. 295 296 % To set the figure size and to save as PDF or other file formats, click the Export Setup button in the figure Property Editor. 297 298 % \section{From the Command Line} 299 % All figure properties can also be manipulated from the command line. Here's an example: 300 % \begin{verbatim} 301 % x=[0:0.1:pi]; 302 % hold on % Plot multiple traces on one figure 303 % plot(x,sin(x)) 304 % plot(x,cos(x),'--r') 305 % plot(x,tan(x),'.-g') 306 % title('Some Trig Functions Over 0 to \pi') % Note LaTeX markup! 307 % legend('{\it sin}(x)','{\it cos}(x)','{\it tan}(x)') 308 % hold off 309 % set(gca,'Ylim',[-3 3]) % Adjust Y limits of "current axes" 310 % set(gcf,'Units','inches') % Set figure size units of "current figure" 311 % set(gcf,'Position',[0,0,6,4]) % Set figure width (6 in.) and height (4 in.) 312 % cd n:\thesis\plots % Select where to save 313 % print -dpdf plot.pdf % Save as PDF 314 % \end{verbatim} 315 315 316 316 % GLOSSARIES (Lists of definitions, abbreviations, symbols, etc. provided by the glossaries-extra package)
Note: See TracChangeset
for help on using the changeset viewer.