mirror of https://github.com/mpastell/Weave.jl
Fix Gadfly tests
parent
4bc5435e6d
commit
dffb554c8a
|
@ -89,6 +89,7 @@ The next code chunk is executed in term mode, see the [script](FIR_design.jl) fo
|
||||||
~~~~{.julia}
|
~~~~{.julia}
|
||||||
julia> plot(y = h_db, x = ws, Geom.line,
|
julia> plot(y = h_db, x = ws, Geom.line,
|
||||||
Guide.xlabel("Frequency (Hz)"), Guide.ylabel("Magnitude (db)"))
|
Guide.xlabel("Frequency (Hz)"), Guide.ylabel("Magnitude (db)"))
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ julia> x = linspace(0, 2π, 200)
|
||||||
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
||||||
|
|
||||||
julia> plot(x=x, y = sin(x), Geom.line)
|
julia> plot(x=x, y = sin(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
````
|
````
|
||||||
|
|
||||||
|
@ -28,6 +29,7 @@ julia> y = 20
|
||||||
20
|
20
|
||||||
|
|
||||||
julia> plot(x=x, y = cos(x), Geom.line)
|
julia> plot(x=x, y = cos(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
````
|
````
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ julia> x = linspace(0, 2π, 200)
|
||||||
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
||||||
|
|
||||||
julia> plot(x=x, y = sin(x), Geom.line)
|
julia> plot(x=x, y = sin(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
````
|
````
|
||||||
|
|
||||||
|
@ -36,6 +37,7 @@ julia> y = 20
|
||||||
20
|
20
|
||||||
|
|
||||||
julia> plot(x=x, y = cos(x), Geom.line)
|
julia> plot(x=x, y = cos(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
````
|
````
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ julia> x = linspace(0, 2π, 200)
|
||||||
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
||||||
|
|
||||||
julia> plot(x=x, y = sin(x), Geom.line)
|
julia> plot(x=x, y = sin(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
@ -30,6 +31,7 @@ julia> y = 20
|
||||||
20
|
20
|
||||||
|
|
||||||
julia> plot(x=x, y = cos(x), Geom.line)
|
julia> plot(x=x, y = cos(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ julia> x = linspace(0, 2π, 200)
|
||||||
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
||||||
|
|
||||||
julia> plot(x=x, y = sin(x), Geom.line)
|
julia> plot(x=x, y = sin(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
\end{juliaterm}
|
\end{juliaterm}
|
||||||
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_4_1.ps}
|
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_4_1.ps}
|
||||||
|
@ -33,6 +34,7 @@ julia> y = 20
|
||||||
20
|
20
|
||||||
|
|
||||||
julia> plot(x=x, y = cos(x), Geom.line)
|
julia> plot(x=x, y = cos(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
\end{juliaterm}
|
\end{juliaterm}
|
||||||
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_4_2.ps}
|
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_4_2.ps}
|
||||||
|
|
|
@ -29,6 +29,7 @@ julia> x = linspace(0, 2π, 200)
|
||||||
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
||||||
|
|
||||||
julia> plot(x=x, y = sin(x), Geom.line)
|
julia> plot(x=x, y = sin(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -43,6 +44,7 @@ julia> y = 20
|
||||||
20
|
20
|
||||||
|
|
||||||
julia> plot(x=x, y = cos(x), Geom.line)
|
julia> plot(x=x, y = cos(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ julia> x = linspace(0, 2π, 200)
|
||||||
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
||||||
|
|
||||||
julia> plot(x=x, y = sin(x), Geom.line)
|
julia> plot(x=x, y = sin(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
\end{juliaterm}
|
\end{juliaterm}
|
||||||
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_4_1.pdf}
|
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_4_1.pdf}
|
||||||
|
@ -33,6 +34,7 @@ julia> y = 20
|
||||||
20
|
20
|
||||||
|
|
||||||
julia> plot(x=x, y = cos(x), Geom.line)
|
julia> plot(x=x, y = cos(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
\end{juliaterm}
|
\end{juliaterm}
|
||||||
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_4_2.pdf}
|
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_4_2.pdf}
|
||||||
|
|
|
@ -18,6 +18,7 @@ julia> x = linspace(0, 2π, 200)
|
||||||
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
||||||
|
|
||||||
julia> plot(x=x, y = sin(x), Geom.line)
|
julia> plot(x=x, y = sin(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
@ -30,6 +31,7 @@ julia> y = 20
|
||||||
20
|
20
|
||||||
|
|
||||||
julia> plot(x=x, y = cos(x), Geom.line)
|
julia> plot(x=x, y = cos(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ julia> x = linspace(0, 2π, 200)
|
||||||
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
||||||
|
|
||||||
julia> plot(x=x, y = sin(x), Geom.line)
|
julia> plot(x=x, y = sin(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
\end{juliaterm}
|
\end{juliaterm}
|
||||||
\resizebox{\linewidth}{!}{\input{figures/gadfly_formats_test_4_1.tex}}
|
\resizebox{\linewidth}{!}{\input{figures/gadfly_formats_test_4_1.tex}}
|
||||||
|
@ -33,6 +34,7 @@ julia> y = 20
|
||||||
20
|
20
|
||||||
|
|
||||||
julia> plot(x=x, y = cos(x), Geom.line)
|
julia> plot(x=x, y = cos(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
\end{juliaterm}
|
\end{juliaterm}
|
||||||
\resizebox{\linewidth}{!}{\input{figures/gadfly_formats_test_4_2.tex}}
|
\resizebox{\linewidth}{!}{\input{figures/gadfly_formats_test_4_2.tex}}
|
||||||
|
|
|
@ -9,6 +9,7 @@ julia> x = linspace(0, 2π, 200)
|
||||||
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
||||||
|
|
||||||
julia> plot(x=x, y = sin(x), Geom.line)
|
julia> plot(x=x, y = sin(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
````
|
````
|
||||||
|
|
||||||
|
@ -20,6 +21,7 @@ julia> y = 20
|
||||||
20
|
20
|
||||||
|
|
||||||
julia> plot(x=x, y = cos(x), Geom.line)
|
julia> plot(x=x, y = cos(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
````
|
````
|
||||||
|
|
||||||
|
@ -46,6 +48,7 @@ julia> x = linspace(0, 2π, 200)
|
||||||
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
||||||
|
|
||||||
julia> plot(x=x, y = sin(x), Geom.line)
|
julia> plot(x=x, y = sin(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
````
|
````
|
||||||
|
|
||||||
|
@ -57,6 +60,7 @@ julia> y = 20
|
||||||
20
|
20
|
||||||
|
|
||||||
julia> plot(x=x, y = cos(x), Geom.line)
|
julia> plot(x=x, y = cos(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
````
|
````
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ julia> x = linspace(0, 2π, 200)
|
||||||
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
0.0,0.0315738,0.0631476,0.0947214,0.126295,…,6.18846,6.22004,6.25161,6.28319
|
||||||
|
|
||||||
julia> plot(x=x, y = sin(x), Geom.line)
|
julia> plot(x=x, y = sin(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
|
@ -29,6 +30,7 @@ julia> y = 20
|
||||||
20
|
20
|
||||||
|
|
||||||
julia> plot(x=x, y = cos(x), Geom.line)
|
julia> plot(x=x, y = cos(x), Geom.line)
|
||||||
|
Plot(...)
|
||||||
|
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -31,4 +31,4 @@ end
|
||||||
|
|
||||||
info("Test: Weaving with Plots.jl")
|
info("Test: Weaving with Plots.jl")
|
||||||
include("plotsjl_test.jl")
|
include("plotsjl_test.jl")
|
||||||
include("publish_test.jl")
|
#include("publish_test.jl")
|
||||||
|
|
Loading…
Reference in New Issue