using-plot-interactively/quickref.tex
changeset 409 43a24f7ab183
parent 342 588b681e70c6
equal deleted inserted replaced
408:8f4c369a41f1 409:43a24f7ab183
       
     1 Creating a linear array:\\
       
     2 {\ex \lstinline|    x = linspace(0, 2*pi, 50)|}
       
     3 
       
     4 Plotting two variables:\\
       
     5 {\ex \lstinline|    plot(x, sin(x))|}
       
     6 
       
     7 Saving Plot\\
       
     8 {\includegraphics[width=60mm]{save.png}}
       
     9 
       
    10 Zooming into a part of the plot\\
       
    11 {\includegraphics[width=60mm]{zoom.png}}
       
    12 
       
    13 Move the plot\\
       
    14 {\includegraphics[width=60mm]{move.png}}