The most stable and fully featured of the =julia= graphics packages at the time of this writing appears to be the =Winston= package, among alternatives including =Gadfly=.
#+BEGIN_SRC julia :eval never
Pkg.add("Winston")
#+END_SRC
The Winston package has lots of dependencies and many of them must be built from source (on Ubuntu).
** Plotting with Winston
#+BEGIN_SRC julia :results graphics :file example1.png :eval no-export
pdfcreator={Generated by Org mode 7.9.3f in Emacs 24.3.50.1.}}
pdfcreator={Generated by Org mode 7.9.3e in Emacs 24.3.50.1.}}
\begin{document}
\maketitle
\tableofcontents
\vspace*{1cm}
One of the reasons for this document is that I wanted to make it easier to get acquainted with \texttt{julia}.
\section[What you need to get started]{What you need to get started}
\section{What you need to get started}
\label{sec-1}
This document assumes you have at least a passing familiarity with Org-mode and Emacs keybindings.
...
...
@@ -44,13 +45,13 @@ This document assumes you have at least a passing familiarity with Org-mode and
\item[Note:] a lot of the code blocks below have the header argument \texttt{:eval no-export} which means that the code block can be evaluated interactively in this session by \texttt{C-c C-c} with point in the code block but will \emph{not} be evaluated during export. The reason is that those blocks have settings which conflict with my current setup but would be useful for others going through this document.
\end{description}
\subsection[Julia]{Julia}
\subsection{Julia}
\label{sec-1-1}
\begin{itemize}
\item First install takes the longest, later updates not so bad.
\item all the dependencies
\end{itemize}
\subsection[Add-on packages]{Add-on packages}
\subsection{Add-on packages}
\label{sec-1-2}
Based on \href{http://www.johnmyleswhite.com/notebook/2012/12/02/the-state-of-statistics-in-julia/}{The State of Statistics in Julia} by John Myles White.
...
...
@@ -87,7 +88,7 @@ Pkg.add("Gadfly")
\item packages take a lot longer to load than R
\end{itemize}
\end{enumerate}
\subsection[Org-mode]{Org-mode}
\subsection{Org-mode}
\label{sec-1-3}
This document assumes that you have at least a passing familiarity with org-mode such that you likely have something like the following already in your \texttt{.emacs}:
...
...
@@ -132,7 +133,7 @@ If you'd like to do \LaTeX{} export then put the following in your emacs.
\section[Evaluation inside the Org buffer]{Evaluation inside the Org buffer}
\subsection{:results value}
\label{sec-4-1}
\subsection{:results output}
\label{sec-4-2}
\section{Graphics}
\label{sec-5}
\subsection[:results value]{:results value}
\label{sec-5-1}
The most stable and fully featured of the \texttt{julia} graphics packages at the time of this writing appears to be the \texttt{Winston} package, among alternatives including \texttt{Gadfly}.
\subsection[:results output]{:results output}
\label{sec-5-2}
\section[Graphics]{Graphics}
\label{sec-6}
\begin{verbatim}
Pkg.add("Winston")
\end{verbatim}
\subsection[Plotting with Winston]{Plotting with Winston}
\label{sec-6-1}
The Winston package has lots of dependencies and many of them must be built from source (on Ubuntu).