diff options
author | Jovina | 2011-05-10 14:36:26 +0530 |
---|---|---|
committer | Jovina | 2011-05-10 14:36:26 +0530 |
commit | 08d400a1c6633a517c8a58afa50291ea8f8f91e0 (patch) | |
tree | 8e717e263ff2cfc5228d825ddfda18bb416d1da7 /saving_plots | |
parent | 85503be1f9c101fe654c0ace6f3f771f4a5760ad (diff) | |
parent | cc3bc87d82462dc0793dba4c9b14e3cd0a301549 (diff) | |
download | st-scripts-08d400a1c6633a517c8a58afa50291ea8f8f91e0.tar.gz st-scripts-08d400a1c6633a517c8a58afa50291ea8f8f91e0.tar.bz2 st-scripts-08d400a1c6633a517c8a58afa50291ea8f8f91e0.zip |
Merge branch 'master' of https://github.com/FOSSEE/st-scripts
Diffstat (limited to 'saving_plots')
-rw-r--r-- | saving_plots/script.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/saving_plots/script.rst b/saving_plots/script.rst index c794690..bca9141 100644 --- a/saving_plots/script.rst +++ b/saving_plots/script.rst @@ -32,7 +32,7 @@ team along with the logo of MHRD }}} .. R1 -Hello and welcome to the tutorial on "saving plots". +Hello and welcome to the tutorial on "Saving plots". .. L2 @@ -65,7 +65,7 @@ ipython -pylab As you know, it will start your IPython interpreter with the required python modules for plotting and saving your plots. -To start with let us plot a sine wave from minus 3 pi to 3 pi. +To start with, let us plot a sine wave from minus 3 pi to 3 pi. Let us start by calculating the required points for the plot. It can be done using linspace as, @@ -136,7 +136,7 @@ want to save the file. Here we have used an extension ``.png`` which means we want to save the image as a PNG file. -Now let us locate the file ``sine.png`` which we had saved a while ago.We saved the file to +Now let us locate the file ``sine.png`` which we had saved a while ago.We have saved the file to ``/home/fossee`` so let us navigate to ``/home/fossee`` using the file browser. @@ -171,7 +171,7 @@ support transparency etc. .. R13 -Save the sine plot in the format EPS which can be embedded in LaTeX documents. +Save the sine plot in the EPS format which can be embedded in LaTeX documents. .. L14 @@ -179,7 +179,7 @@ Save the sine plot in the format EPS which can be embedded in LaTeX documents. .. R14 -We still have the sine plot with us, and now let us save the plot as +We still have the sine plot with us,let us now save the plot as ``sine.eps``. .. L15 @@ -229,12 +229,12 @@ This brings us to the end of this tutorial, let's revise quickly what we have learnt today 1. to save plots using the ``savefig()`` function. - #. to save the plots in differnt formats. + #. to save the plots in differnt formats like - pdf - ps - png - svg - - epg + - eps #. to locate files in the file system. .. R20 |