Update README

pull/29/head
Matti Pastell 2014-12-22 17:03:33 +02:00
parent fe2ed88a23
commit ba08d1b890
1 changed files with 4 additions and 4 deletions

View File

@ -40,11 +40,11 @@ tex: Latex with custom code environments
## Usage
Run from julia:
Run from julia using Gadfly for plots:
````julia
using Weave
weave(Pkg.dir("Weave","examples","julia_sample.mdw")
weave(Pkg.dir("Weave","examples","gadfly_sample.mdw"))
````
Using Winston for plots (Julia 0.3 only):
@ -54,10 +54,10 @@ weave(Pkg.dir("Weave","examples","winston_sample.mdw"),
plotlib="Winston", doctype="pandoc")
````
Using Gadfly:
Using PyPlot:
````julia
weave(Pkg.dir("Weave","examples","gadfly_sample.mdw"), plotlib="Gadfly")
weave(Pkg.dir("Weave","examples","julia_sample.mdw"), plotlib="PyPlot")
````
The signature of weave functions is: