Hi!
Try
savefig(p, "test.svg")
Kaj
On Sunday, August 2, 2015 at 7:06:21 AM UTC+3, Lauri Nurminen wrote:
>
> Hi,
>
> I have the following problem with Winston savefig
>
> in short, if I do
>
> julia> using Winston
> x = randn(100);
> y = randn(100);
> pp = Points(x,y);
> p = FramedPlot();
> add(p,pp);
> display(p)
> savefig("test.svg")
>
> the plot displays correctly but the saved file contains nothing, and is
> just 219 bytes large
>
> however, when I do
>
> x = randn(100);
> y = randn(100);
> figure()
> plot(x,y)
> savefig("test.svg")
>
> the plot is saved as expected.
>
> Anyone understands what is going on?
>
> Thanks in advance,
> Lauri
>
>
>
>