how_to_produce_tikz_plots_for_scientific_publications
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| how_to_produce_tikz_plots_for_scientific_publications [2016/01/24 00:11] – samer | how_to_produce_tikz_plots_for_scientific_publications [2016/01/24 00:17] (current) – samer | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
|         ' |         ' | ||
|         ' |         ' | ||
| + | </ | ||
| + | |||
| + | <code latex> | ||
| + | \tikzset{font=\footnotesize} | ||
| + | \begin{tikzpicture} | ||
| + | |||
| + | every x tick label/ | ||
| + | every y tick label/ | ||
| + | </ | ||
| + | |||
| + | <code matlab> | ||
| + | f=figure; | ||
| + | boxplot([cum_ee_power_vector_per_user cum_gt_power_vector_per_user cum_maxlog_power_vector_per_user ... | ||
| + |     cum_pmax_power_vector_per_user cum_ee_nointerf_power_vector_per_user], | ||
| + | set(gca,' | ||
| + | ylabel(' | ||
| + | cleanfigure; | ||
| + | print(f,' | ||
| + | savefig(sprintf(' | ||
| + | matlab2tikz(sprintf(' | ||
| + |         ' | ||
| + |         ' | ||
| + | </ | ||
| + | |||
| + | <code latex> | ||
| + | \usepackage{tikz} | ||
| + | \usepackage{pgfplots} | ||
| + | \pgfplotsset{compat=newest} | ||
| + | \usetikzlibrary{plotmarks} | ||
| + | \usepackage{grffile} | ||
| + | |||
| + | \newlength\figureheight | ||
| + | \newlength\figurewidth | ||
| + | |||
| + | \begin{figure}[!h] | ||
| + | \centering | ||
| + | \setlength\figureheight{0.3\textwidth} | ||
| + | \setlength\figurewidth{0.35\textwidth} | ||
| + | 	\input{figures/ | ||
| + | \caption{Energy efficiency of the centralized and distributed approaches} | ||
| + | 	\label{fig: | ||
| + | \end{figure} | ||
| </ | </ | ||
how_to_produce_tikz_plots_for_scientific_publications.1453590689.txt.gz · Last modified: 2016/01/24 00:11 by samer