Skip to content

Commit

Permalink
updated some plots and documentation according to changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Gacon committed Jun 26, 2016
1 parent d403c7f commit d4ff437
Show file tree
Hide file tree
Showing 9 changed files with 674 additions and 623 deletions.
Binary file modified Documentation/doc.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions Documentation/doc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ \section{Methods}

\textbf{Definition:}
\begin{lstlisting}
void grid( const bool& on = true,
void grid( const bool& on = true,
const std::string& gridType = "-",
const std::string& gridCol = "h" )
\end{lstlisting}
Expand All @@ -94,7 +94,7 @@ \section{Methods}
\begin{lstlisting}
mgl::Figure fig;
fig.plot(x, y);
fig.[**grid**](false); // unset grid
fig.grid(); // turn on grid
fig.save("plot.eps");

mgl::Figure fig;
Expand Down
8 changes: 4 additions & 4 deletions Documentation/examples_from_doc/grid/grid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ int main () {
prepare_data(x, y, 2);

mgl::Figure f, g;
f.title("Unset grid");
f.grid(false);
f.title("Set grid");
f.grid();
f.plot(x, y);
f.save("grid_1.eps");

g.title("Fine, grey grid");
g.grid(true, "!", "h");
g.title("Fine, red grid");
g.grid(true, "!", "r");
g.plot(x, y);
g.save("grid_2");

Expand Down
Binary file modified Documentation/examples_from_doc/grid/grid_1-eps-converted-to.pdf
Binary file not shown.
552 changes: 304 additions & 248 deletions Documentation/examples_from_doc/grid/grid_1.eps

Large diffs are not rendered by default.

Binary file modified Documentation/examples_from_doc/grid/grid_2-eps-converted-to.pdf
Binary file not shown.
733 changes: 364 additions & 369 deletions Documentation/examples_from_doc/grid/grid_2.eps

Large diffs are not rendered by default.

Binary file modified Documentation/examples_from_doc/grid/main
Binary file not shown.
Binary file not shown.

0 comments on commit d4ff437

Please sign in to comment.