I've found a workaround now. I use the incanter library to create the 
plots, which allows me to do a (save my-plot "file.png"). To display the 
same plot on the screen: (chart-view my-plot).

j.

On Saturday, January 16, 2016 at 7:20:25 PM UTC+1, jandot wrote:
>
> Hi all,
>
> I have found the gorilla REPL (http://gorilla-repl.org/) very useful for 
> data analysis in clojure. One of the great benefits is that it can display 
> plots in-line (based on vega). When saving such notebook, these plots are 
> represented as base64 text strings in the .clj file. However, I have not 
> been able so save these images separately as e.g. PNG files.
>
> Does anyone know how to save a plot from a gorilla repl into a file?
>
> Many thanks,
> jan.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to