Function Plot - error message

Dear all,
I have instaled the Package Gadfly to draw some graphics.
I have run:

Pkg.add("Gadfly")
using Gadfly
plot(y=[1,2,3])

and a message of error is presented:

ERROR: UndefVarError: plot not defined
Stacktrace:
 [1] top-level scope at none:0

Could anyone help me please?

Your code above works for me, so you’ll need to provide more info about your OS, and version of Julia and Gadfly.

1 Like