You should call `show()` after all plotting command to display the plot.
Alternatively you can just use interactive mode like others in this thread
suggested.
On Thursday, April 30, 2015 at 10:40:10 AM UTC-4, axsk wrote:
>
> Using IJulia i get the following result:
>
> In [1]:
>
> using PyPlot
>
> x = linspace(0,2*pi,1000)
>
> y = sin(3*x + 4*cos(2*x));
>
> plot(x, y, color="red", linewidth=2.0, linestyle="--")
>
> Out[1]:
>
> 1-element Array{Any,1}:
> PyObject <matplotlib.lines.Line2D object at 0x7056650>
>
>
> Unfortunately, no plot image is shown.
> I am using the current Julia nightly, the master versions of PyPlot and
> PyCall, Python 2.7.3 and IPython 3.1.0 on Linux x86_64.
>
> In case anyone is on these newest versions: Does it work for you?
>
> Do you have any ideas what I could try to get it working?
>