I'm stumped -- I have no idea why you don't have a plot command after
loading gaston.

Can you try typing "Gaston." in the terminal and then TAB? You should see
all functions from the Gaston module.

Can you try running gaston_demo() ?

-- mb


On Mon, Dec 30, 2013 at 8:56 PM, Laksh Gupta <[email protected]> wrote:

>
> Actually I already added the package but just for the sake of putting the
> complete example here I included
> 'Pkg.add("Gaston")'
>
> That's why we are seeing the message : Nothing to be done.
>
> Yes, it is happening with other packages also, say with PyPlot. I tried
> deleting the .julia directory but no luck. I tried both with the standard
> installation of Julia as well as with Julia Studio.
>
>
> On Monday, December 30, 2013 3:12:06 PM UTC-8, Miguel Bazdresch wrote:
>>
>> Laksh,
>>
>> It works for me with julia 0.2 on Linux. I don't understand what this
>> message means:
>>
>> INFO: Nothing to be done.
>>
>> You shouldn't see that message. Do you get the same thing when loading
>> other packages? Can you delete or rename your .julia directory and try
>> adding the package again?
>>
>> -- mb
>>
>>
>> On Mon, Dec 30, 2013 at 3:31 AM, Laksh Gupta <[email protected]> wrote:
>>
>>> Since using SVG plot were good enough for me, I moved ahead in the
>>> project I am doing to get familiar with Julia. Now I need to generate
>>> contour and other complex plot for which I am not sure Gadfly will be of
>>> much use. Hence I tried working with Gaston and is facing the same problem:
>>>
>>> julia> Pkg.add("Gaston")
>>>
>>>
>>>
>>>
>>>
>>>
>>> julia>
>>>
>>>
>>> INFO: Nothing to be done.
>>>
>>>
>>>
>>>
>>> julia> using Gaston
>>>
>>>
>>>
>>>
>>>
>>>
>>> julia> x=-pi:.001:pi; y=x.*sin(10./x); plot(x,y) #(plot x*sin(10/x))
>>>
>>>
>>> plot not defined
>>>
>>>
>>>
>>>
>>> julia> x=-pi:.001:pi; y=x.*sin(10./x); Gaston.plot(x,y) #(plot x*sin(10/x))
>>>
>>>
>>> plot not defined
>>>
>>>
>>>
>>>
>>> julia>
>>>
>>>
>>> What am I missing here?
>>>
>>> On Monday, December 23, 2013 8:12:22 AM UTC-8, Stu Thompson wrote:
>>>>
>>>> Hi Laksh,
>>>>
>>>> Where you able to resolve your issue?  Or are you still having
>>>> problems?  In theory it could be something related to Julia Studio.  If so,
>>>> my colleague Kees and I would like to help you resolve it.
>>>>
>>>> Cheers,
>>>>
>>>> Stu
>>>>
>>>>
>>>>
>>>>
>>>> Stu Thompson   /forio  |  +1 (415) 518 32 19  |  
>>>> forio.com<http://www.forio.com/>
>>>>
>>>>
>>>>
>>>> On Sat, Dec 21, 2013 at 7:09 AM, John Myles White <[email protected]
>>>> > wrote:
>>>>
>>>>> You haven’t installed Cairo yet it seems. Or at least Julia isn’t
>>>>> finding Cairo installed where it expects to find it.
>>>>>
>>>>>  — John
>>>>>
>>>>> On Dec 21, 2013, at 2:26 AM, Laksh Gupta <[email protected]> wrote:
>>>>>
>>>>> > Hi
>>>>> >
>>>>> > I am running 64 bit Julia Studio 0.4.3 on Windows 8. I installed
>>>>> Gadfly and Cairo but is still facing problems while trying to plot 
>>>>> anything:
>>>>> >
>>>>> > julia> plot plot not defined
>>>>> >
>>>>> >
>>>>> >  julia> Gadfly.plot
>>>>> >  plot (generic function with 6 methods)
>>>>> >
>>>>> >
>>>>> >  julia> Gadfly.plot(x=collect(1:100), y=sort(rand(100)))
>>>>> >  Plot(...)
>>>>> >
>>>>> >
>>>>> > julia> p = Gadfly.plot(x=collect(1:100), y=sort(rand(100)))
>>>>> >
>>>>> > Plot(...)
>>>>> >
>>>>> >
>>>>> > julia> draw(PNG("plot.png", 6.5inch, 3inch), p)
>>>>> >
>>>>> > Cairo must be installed to use the PNG backend.
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > julia> using Cairo
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > julia> draw(PNG("plot.png", 6.5inch, 3inch), p)
>>>>> >
>>>>> > Cairo must be installed to use the PNG backend.
>>>>> >
>>>>> >
>>>>> > Any idea what am I missing here?
>>>>> >
>>>>> > Thanks,
>>>>> > lg
>>>>>
>>>>>
>>>>
>>

Reply via email to